Add white pawn move gen test
All checks were successful
Python tests (make) / test (push) Successful in 10s
All checks were successful
Python tests (make) / test (push) Successful in 10s
This commit is contained in:
@@ -14,12 +14,6 @@ class TestFenLoading(ChessLibTestBase):
|
||||
return sum(1 << (r*8 + f) for f in range(8))
|
||||
|
||||
|
||||
def load_fen(self, fen, board=None):
|
||||
if board:
|
||||
return load_fen(board, fen)
|
||||
return load_fen(self.board, fen)
|
||||
|
||||
|
||||
def test_startpos_fields_and_occupancies(self):
|
||||
fen = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
|
||||
rc = self.load_fen(fen)
|
||||
|
||||
Reference in New Issue
Block a user