[core,board] Update all use imports referring to Square, Rank, and File
This commit is contained in:
parent
3c3a62345d
commit
106800bcb3
16 changed files with 40 additions and 40 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
use crate::{
|
||||
piece::{Color, PlacedPiece, Shape},
|
||||
square::Direction,
|
||||
BitBoard, Position,
|
||||
};
|
||||
use chess_core::Direction;
|
||||
|
||||
pub(crate) trait Sight {
|
||||
fn sight_in_position(&self, position: &Position) -> BitBoard;
|
||||
|
@ -174,7 +174,8 @@ mod tests {
|
|||
}
|
||||
|
||||
mod pawn {
|
||||
use crate::{sight::Sight, BitBoard, Square};
|
||||
use crate::{sight::Sight, BitBoard};
|
||||
use chess_core::Square;
|
||||
|
||||
sight_test!(e4_pawn, piece!(White Pawn on E4), bitboard!(D5, F5));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue