diff --git a/test/chess/moves/bishop_test.exs b/test/chess/moves/bishop_test.exs index 99e8afc..4bd3941 100644 --- a/test/chess/moves/bishop_test.exs +++ b/test/chess/moves/bishop_test.exs @@ -8,10 +8,8 @@ defmodule Chess.Moves.BishopTest do moves = Moves.available(board, {4, 5}) expected_moves = Enum.sort([ - {5, 6}, {6, 7}, - {5, 4}, {6, 3}, {7, 2}, - {3, 4}, {2, 3}, {1, 2}, {0, 1}, - {3, 6}, {2, 7}, + {0, 1}, {1, 2}, {2, 3}, {3, 4}, {5, 6}, {6, 7}, + {2, 7}, {3, 6}, {5, 4}, {6, 3}, {7, 2}, ]) assert Enum.sort(moves) == expected_moves end diff --git a/test/chess/moves/queen_test.exs b/test/chess/moves/queen_test.exs index 7dd20fc..4191368 100644 --- a/test/chess/moves/queen_test.exs +++ b/test/chess/moves/queen_test.exs @@ -10,10 +10,8 @@ defmodule Chess.Moves.QueenTest do expected_moves = Enum.sort([ {4, 0}, {4, 1}, {4, 2}, {4, 3}, {4, 4}, {4, 6}, {4, 7}, {0, 5}, {1, 5}, {2, 5}, {3, 5}, {5, 5}, {6, 5}, {7, 5}, - {5, 6}, {6, 7}, - {5, 4}, {6, 3}, {7, 2}, - {3, 4}, {2, 3}, {1, 2}, {0, 1}, - {3, 6}, {2, 7}, + {0, 1}, {1, 2}, {2, 3}, {3, 4}, {5, 6}, {6, 7}, + {2, 7}, {3, 6}, {5, 4}, {6, 3}, {7, 2}, ]) assert Enum.sort(moves) == expected_moves end