dead code removal

This commit is contained in:
Simon Gardling 2025-03-12 10:48:31 -04:00
parent 16eb6a1259
commit 134f922b0a
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 1 additions and 21 deletions

View File

@ -112,22 +112,6 @@ impl BitBoard {
}
}
impl std::ops::BitAnd for BitBoard {
type Output = BitBoard;
fn bitand(self, rhs: Self) -> Self::Output {
Self(self.0 & rhs.0)
}
}
impl std::ops::BitOr for BitBoard {
type Output = BitBoard;
fn bitor(self, rhs: Self) -> Self::Output {
Self(self.0 | rhs.0)
}
}
#[cfg(test)]
mod test {
use super::*;

View File

@ -1,11 +1,7 @@
use super::{bitboard::BitBoard, piece::Piece, CoordAxis, CoordPair};
use arrayvec::ArrayVec;
use rand::seq::IteratorRandom;
use std::{
cmp::Ordering,
fmt,
ops::{BitAndAssign, BitOrAssign},
};
use std::{cmp::Ordering, fmt};
/// Map of all points on the board against some type T
/// Used to index like so: example[i][j]