diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-08-22 02:59:20 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-08-22 05:56:11 +0300 |
commit | a3bef6f93a960ad51d7601ed8e53c6a83a532f71 (patch) | |
tree | fffffe84df9c1e4903ccf0fd48db099758078a60 /src/board/move_generation.rs | |
parent | bc599d145a8d3a5e69128bc9e702ac7a32d73a4c (diff) | |
download | chessnost-a3bef6f93a960ad51d7601ed8e53c6a83a532f71.tar.gz |
feat: improve UCI position fen moves case
Diffstat (limited to 'src/board/move_generation.rs')
-rw-r--r-- | src/board/move_generation.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/board/move_generation.rs b/src/board/move_generation.rs index 77714c8..98df056 100644 --- a/src/board/move_generation.rs +++ b/src/board/move_generation.rs @@ -165,7 +165,6 @@ mod tests { fn generate_pseudolegal_moves_starting_position() { let mut board = Board::new(); let moves = board.generate_pseudolegal_moves(); - board.ply += 1; let black_moves = board.generate_pseudolegal_moves(); assert_eq!(moves.len(), 20); @@ -181,7 +180,6 @@ mod tests { fn moved_king_castle() { let fen = String::from("4k2r/ppp1n3/8/4R1Pp/5P2/q1P5/P1P1BP2/1K1R4 b - - 2 22"); let mut board = Board::from_FEN(fen); - board.ply += 1; // Shuffle kings around, returning to the same position board.make_move(Move { source: Square::E8, target: Square::F8, kind: MoveKind::Quiet }); |