Merge branch 'many-crates'
This commit is contained in:
commit
d27c455ce4
25 changed files with 235 additions and 227 deletions
|
@ -1,13 +1,10 @@
|
|||
// Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
use crate::{
|
||||
piece::{PlacedPiece, Shape},
|
||||
position::flags::Flags,
|
||||
r#move::Castle,
|
||||
Color, MakeMoveError, Move, Piece, Position,
|
||||
position::flags::Flags, r#move::Castle, sight::SightExt, MakeMoveError, Move, Position,
|
||||
};
|
||||
use chessfriend_bitboard::BitBoard;
|
||||
use chessfriend_core::{Direction, Square};
|
||||
use chessfriend_core::{Color, Direction, Piece, PlacedPiece, Shape, Square};
|
||||
|
||||
/// A position builder that builds a new position by making a move.
|
||||
#[derive(Clone)]
|
||||
|
@ -249,7 +246,8 @@ impl<'p> From<&'p Position> for Builder<'p, NoMove> {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::{r#move::Castle, MoveBuilder, PositionBuilder};
|
||||
use crate::{position, r#move::Castle, MoveBuilder, PositionBuilder};
|
||||
use chessfriend_core::piece;
|
||||
|
||||
#[test]
|
||||
fn move_white_pawn_one_square() -> Result<(), MakeMoveError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue