flip some params around
This commit is contained in:
parent
0a6b03fd69
commit
a9b265fabc
2 changed files with 8 additions and 8 deletions
|
|
@ -25,5 +25,5 @@ spec = describe "gameboard" do
|
|||
displayText gameBoard `shouldBe` "1 2 \n3 4 \n"
|
||||
|
||||
it "validates a move" do
|
||||
selectCheck gameBoard (0, 0) (1, 1) `shouldBe` True
|
||||
selectCheck gameBoard (0, 0) (0, 1) `shouldBe` False
|
||||
selectCheck (0, 0) (1, 1) gameBoard `shouldBe` True
|
||||
selectCheck (0, 0) (0, 1) gameBoard `shouldBe` False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue