Skip to content

Commit

Permalink
remove is_move_correct calls
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Aug 29, 2024
1 parent 695ae89 commit 6c6e391
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/stockfish/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ def test_constructor_options(self):

@pytest.mark.slow
def test_get_best_move_remaining_time_not_first_move(self, stockfish: Stockfish):
stockfish.is_move_correct("e2e4")
stockfish.set_fen_position("rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1", False)
stockfish.is_move_correct("e7e6")
stockfish.set_fen_position("rnbqkbnr/pppp1ppp/4p3/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2", False)
best_move = stockfish.get_best_move(wtime=1000)
assert best_move in ("d2d4", "a2a3", "d1e2", "b1c3")
Expand Down

0 comments on commit 6c6e391

Please sign in to comment.