chore: format

This commit is contained in:
dogeystamp 2024-10-20 13:09:26 -04:00
parent 37260b4d38
commit 2ec229ad09
2 changed files with 6 additions and 2 deletions

View File

@ -440,6 +440,6 @@ mod tests {
let fen2 = BoardState::from_fen(fen1).unwrap().to_fen();
assert_eq!(fen1.to_string(), fen2, "FEN not equivalent")
}
}
}
}

View File

@ -548,7 +548,11 @@ mod tests {
}
let board = BoardState::from_fen("8/4p3/1q1Q1p2/4p3/1p1r4/8/8/8 w - - 0 1").unwrap();
let white_queens = board.pl(Color::White).board(Piece::Queen).into_iter().collect::<Vec<Square>>();
let white_queens = board
.pl(Color::White)
.board(Piece::Queen)
.into_iter()
.collect::<Vec<Square>>();
assert_eq!(white_queens, vec![Square::from_str("d6").unwrap()])
}
}