aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-02 20:51:25 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-02 20:51:53 +0300
commitcae14cd6f19c40be2c30b638a51a02c4da0959ea (patch)
tree5e3cc85e5d779beeaaaa837eefed97835b89dca5 /src/moves.rs
parentec05e8bfa3f61b86fb83d939ff6fa3ddbc51ce6d (diff)
downloadchessnost-cae14cd6f19c40be2c30b638a51a02c4da0959ea.tar.gz
refactor: use functions for file and rank
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/moves.rs b/src/moves.rs
index 34f8370..57103d0 100644
--- a/src/moves.rs
+++ b/src/moves.rs
@@ -32,16 +32,3 @@ impl Move {
}
}
}
-
-
-
-#[cfg(test)]
-mod tests {
- use super::*;
-
- #[test]
- fn mock() {
- let mov = Move { source: Square::E2, target: Square::E4, kind: MoveKind::Quiet };
- println!("{:?}", mov);
- }
-}