From 958e9df4f3696261c1177a0618176e5a2320d3e9 Mon Sep 17 00:00:00 2001 From: johndoknjas Date: Wed, 28 Aug 2024 18:51:33 -0700 Subject: [PATCH] increase wtime for first check, to see if g1f3 becomes a recommended move at higher depth --- tests/stockfish/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stockfish/test_models.py b/tests/stockfish/test_models.py index 4aaf495..75b694c 100644 --- a/tests/stockfish/test_models.py +++ b/tests/stockfish/test_models.py @@ -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")