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