aboutsummaryrefslogtreecommitdiff
path: root/src/board/move_generation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/board/move_generation.rs')
-rw-r--r--src/board/move_generation.rs2
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 });