Skip to content

Commit

Permalink
fix mate position
Browse files Browse the repository at this point in the history
no functional change

bench 840721
  • Loading branch information
xu-shawn committed Nov 22, 2024
1 parent 82b092c commit 7ebf182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/instrumented.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ def test_fen_position_with_mate_go_nodes(self):
def test_fen_position_depth_27(self):
self.stockfish.send_command("ucinewgame")
self.stockfish.send_command(
"position fen 1NR2B2/5p2/5p2/1p1kpp2/1P2rp2/2P1pB2/2P1P1K1/8 b - -"
"position fen r1b2r1k/pp1p2pp/2p5/2B1q3/8/8/P1PN2PP/R4RK1 w - - 0 18"
)
self.stockfish.send_command("go depth 27")
self.stockfish.contains("score mate -2")
self.stockfish.send_command("go infinite")
self.stockfish.contains("score mate -1")

self.stockfish.starts_with("bestmove")

Expand Down

0 comments on commit 7ebf182

Please sign in to comment.