Move a whole bunch of stuff to the new chessfriend_board package
This commit is contained in:
parent
797606785e
commit
1d82d27f84
12 changed files with 1130 additions and 41 deletions
|
@ -1,14 +1,21 @@
|
|||
pub fn add(left: usize, right: usize) -> usize {
|
||||
left + right
|
||||
}
|
||||
// Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
pub mod en_passant;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = add(2, 2);
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
mod board;
|
||||
mod builder;
|
||||
mod castle;
|
||||
mod display;
|
||||
mod flags;
|
||||
mod macros;
|
||||
mod piece_sets;
|
||||
mod pieces;
|
||||
|
||||
pub use board::Board;
|
||||
pub use builder::Builder;
|
||||
|
||||
use castle::Castle;
|
||||
use en_passant::EnPassant;
|
||||
use flags::Flags;
|
||||
use piece_sets::PieceBitBoards;
|
||||
use pieces::Pieces;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue