diff options
Diffstat (limited to 'src/grossmeister/evaluation.rs')
-rw-r--r-- | src/grossmeister/evaluation.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/grossmeister/evaluation.rs b/src/grossmeister/evaluation.rs index 201aaed..61d375c 100644 --- a/src/grossmeister/evaluation.rs +++ b/src/grossmeister/evaluation.rs @@ -451,9 +451,9 @@ mod tests { let score2 = { let fen = String::from("r2q1rk1/pP1p2pp/Q4n2/bbp1p3/Np6/1B3NBn/pPPP1PPP/R3K2R b KQ - 0 1 "); - let mut board = Board::from_FEN(fen); - let gm = Grossmeister::new(board); - board.ply += 1; // TODO: remove me when FEN parsing includes side to move + let board = Board::from_FEN(fen); + let mut gm = Grossmeister::new(board); + gm.board.ply += 1; // TODO: remove me when FEN parsing includes side to move let score = gm.evaluate(); gm.board.print(); println!("Score {}", score); |