fixup! Use 'ChessBoardBuilder' in validation tests
This commit is contained in:
parent
27d5bb49b1
commit
4f1d2f7320
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ mod test {
|
|||
let mut builder = ChessBoardBuilder::new();
|
||||
builder[Square::H1] = Some((Piece::King, Color::White));
|
||||
builder[Square::H8] = Some((Piece::King, Color::Black));
|
||||
for square in (File::B.into_bitboard() | File::C.into_bitboard()).into_iter() {
|
||||
for square in (File::B.into_bitboard() | File::C.into_bitboard()) {
|
||||
builder[square] = Some((Piece::Pawn, Color::White));
|
||||
}
|
||||
for square in (File::F.into_bitboard() | File::G.into_bitboard()).into_iter() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue