コード例 #1
0
 def test_find_queen_positions_on_empty_board(self):
     queen_positions = find_queen_positions(empty_board)
     self.assertEquals([], queen_positions)
コード例 #2
0
 def test_find_queen_positions_on_board_with_queen_at_a1(self):
     queen_positions = find_queen_positions(board_with_queen_at_a1)
     self.assertEquals(["a1"], queen_positions)