dead code removal
This commit is contained in:
parent
16eb6a1259
commit
134f922b0a
@ -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::*;
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user