use crate::board::Square; #[derive(Debug)] pub struct Move { from: Square, to: Square, } // TODO: think about the size type MoveList = [Move; 1024]; #[cfg(test)] mod tests { use super::*; #[test] fn mock() { let mov = Move { from: Square::E2, to: Square::E4 }; println!("{:?}", mov); } }