Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Aug 29, 2024
1 parent 2853afb commit c8746a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/stockfish/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ def test_get_best_move_remaining_time_not_first_move(self, stockfish: Stockfish)
stockfish.make_moves_from_current_position(["e2e4", "e7e6"])
best_move = stockfish.get_best_move(wtime=1000)
assert best_move in ("d2d4", "a2a3", "d1e2", "b1c3")
assert stockfish.get_top_moves(num_top_moves=1, btime=1000)[0]["Move"] in ("d2d4", "b1c3")
assert stockfish.get_top_moves(num_top_moves=1, btime=1000)[0]["Move"] in (
"d2d4",
"b1c3",
)
best_move = stockfish.get_best_move(wtime=1000, btime=1000)
assert best_move in ("d2d4", "b1c3", "g1f3")
best_move = stockfish.get_best_move(wtime=5 * 60 * 1000, btime=1000)
Expand Down

0 comments on commit c8746a9

Please sign in to comment.