aboutsummaryrefslogtreecommitdiff
path: root/src/board/engine.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-21 12:32:38 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-21 12:32:38 +0300
commit08e27cdb8aa546833927b678d0a0d3ade1e91ef0 (patch)
treefe149d99038e0ad6dd1dbe0bcd5ab9bf9d908ad2 /src/board/engine.rs
parent8cd12afe8d057e9f80c50727dea00b40256bca54 (diff)
downloadchessnost-08e27cdb8aa546833927b678d0a0d3ade1e91ef0.tar.gz
refactor: separate IO module
Diffstat (limited to 'src/board/engine.rs')
-rw-r--r--src/board/engine.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/board/engine.rs b/src/board/engine.rs
index c98348e..5a2b2bf 100644
--- a/src/board/engine.rs
+++ b/src/board/engine.rs
@@ -598,7 +598,7 @@ impl Board {
#[cfg(test)]
mod tests {
use std::time::Duration;
- use crate::{board::{Board, engine::{PerftResult, KING_BONUS}, Color}, square::Square, moves::{Move, MoveKind}};
+ use crate::{board::{Board, engine::{PerftResult, KING_BONUS}, Color, io::IO}, square::Square, moves::{Move, MoveKind}};
use super::VALUE_WIN;
#[test]
@@ -698,7 +698,7 @@ mod tests {
}
mod evaluation {
- use crate::{moves::{Move, MoveKind}, square::Square};
+ use crate::{moves::{Move, MoveKind}, square::Square, board::io::IO};
use super::*;