mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Better language
This commit is contained in:
parent
415ad8e8ee
commit
5745b916c4
@ -25,7 +25,7 @@ defmodule Chess.Moves.RookTest do
|
|||||||
assert Enum.sort(moves) == expected_moves
|
assert Enum.sort(moves) == expected_moves
|
||||||
end
|
end
|
||||||
|
|
||||||
test "rooks are blocked by another piece of the same colour" do
|
test "rooks are blocked by other pieces of the same colour" do
|
||||||
board = %{
|
board = %{
|
||||||
"0,0" => %{"type" => "rook", "colour" => "white"},
|
"0,0" => %{"type" => "rook", "colour" => "white"},
|
||||||
"0,5" => %{"type" => "king", "colour" => "white"},
|
"0,5" => %{"type" => "king", "colour" => "white"},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user