Adds generator for queen attack exercise#487
Conversation
|
Thanks @samjonester
|
ed0ceb8 to
ddad912
Compare
|
@Insti Thanks for the feedback! I've fixed the rubocop issue, and provided some more documentation. Let me know if anything else isn't up to snuff :) |
|
Great, thanks @samjonester, someone will review it properly soon, but it looks good at first-glance. |
| assert_equal [7, 3], queens.black | ||
| # Test data version: | ||
| # 82eb00d | ||
| class QueenTest < Minitest::Test |
There was a problem hiding this comment.
Looks like there is no space between tests in this file which could make it hard for the end user to follow.
There was a problem hiding this comment.
Taken care of :)
ddad912 to
3d4eef6
Compare
Queen attack had tests being built by hand. This creates a generator for the exercise. Tests related to the rendering of the board have been removed. Tests now come solely from x-common.
3d4eef6 to
740efe3
Compare
bmulvihill
left a comment
There was a problem hiding this comment.
This looks good to me
|
Thanks @samjonester |
The generator for this test uses the interface with methods
test_name,skipped,workload. It originally comes from issue #439