[position] Move castle evaluation code to its own submodule of position

Move the tests too.
This commit is contained in:
Eryn Wells 2025-05-19 16:59:13 -07:00
parent 54ac88aaf7
commit 97552302cb
3 changed files with 278 additions and 272 deletions

View file

@ -1,9 +1,11 @@
// Eryn Wells <eryn@erynwells.me>
mod castle;
mod make_move;
mod position;
pub use {
castle::CastleEvaluationError,
make_move::{MakeMoveError, ValidateMove},
position::{CastleEvaluationError, Position},
position::Position,
};