Skip to content

Commit

Permalink
test poor moves
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Aug 29, 2024
1 parent 3c277d7 commit a0eecfd
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 @@ -44,7 +44,7 @@ def test_sf_process(self):
wtime_lines = send_command(process, "go wtime 1000")
btime_lines = send_command(process, "go btime 1000")
send_command(process, "quit")
assert any(x.startswith(f'bestmove {move}') for move in ('d2d4', 'b1c3') for x in wtime_lines)
assert any(x.startswith(f'bestmove {move}') for move in ('d2d3', 'b1a3') for x in wtime_lines)
assert any(x.startswith(f'bestmove {move}') for move in ('d2d4', 'b1c3') for x in btime_lines)


0 comments on commit a0eecfd

Please sign in to comment.