Skip to content

Commit

Permalink
increase wtime for first check, to see if g1f3 becomes a recommended …
Browse files Browse the repository at this point in the history
…move at higher depth
  • Loading branch information
johndoknjas committed Aug 29, 2024
1 parent 1c2b44e commit 958e9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/stockfish/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_constructor_options(self):
@pytest.mark.slow
def test_get_best_move_remaining_time_not_first_move(self, stockfish: Stockfish):
stockfish.set_position(["e2e4", "e7e6"])
best_move = stockfish.get_best_move(wtime=1000)
best_move = stockfish.get_best_move(wtime=5000)
assert best_move in ("d2d4", "a2a3", "d1e2", "b1c3")
best_move = stockfish.get_best_move(btime=1000)
assert best_move in ("d2d4", "b1c3")

0 comments on commit 958e9df

Please sign in to comment.