Exemplo n.º 1
0
 def test_black_king_count(self):
     board = Board(True)
     self.assertEqual(board.count(BLACK, KING), 1)
Exemplo n.º 2
0
 def test_black_pawns_count(self):
     board = Board(True)
     self.assertEqual(board.count(BLACK, PAWN), 8)
Exemplo n.º 3
0
 def test_white_king_count(self):
     board = Board(True)
     self.assertEqual(board.count(WHITE, KING), 1)
Exemplo n.º 4
0
 def test_white_pawns_count(self):
     board = Board(True)
     self.assertEqual(board.count(WHITE, PAWN), 8)