def test_black_king_count(self): board = Board(True) self.assertEqual(board.count(BLACK, KING), 1)
def test_black_pawns_count(self): board = Board(True) self.assertEqual(board.count(BLACK, PAWN), 8)
def test_white_king_count(self): board = Board(True) self.assertEqual(board.count(WHITE, KING), 1)
def test_white_pawns_count(self): board = Board(True) self.assertEqual(board.count(WHITE, PAWN), 8)