Skip to content

Commit 1338043

Browse files
committed
Remove ctor dependency which was previously needed to run all table initialisations before running integration tests
1 parent 80da057 commit 1338043

File tree

3 files changed

+16
-46
lines changed

3 files changed

+16
-46
lines changed

Cargo.lock

Lines changed: 16 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ rand = "0.8.5"
2323

2424
[dev-dependencies]
2525
mockall = "0.8.0"
26-
ctor = "0.1.22"

tests/engine_test.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ use requin::init_tables;
55
use requin::parser::parse_fen;
66
use requin::r#move::Move;
77

8-
#[cfg(test)]
9-
#[ctor::ctor]
10-
fn init() {
11-
init_tables();
12-
}
13-
148
#[test]
159
fn test_depth_one_best_move_white() {
1610
let mut board = Board::new_empty();

0 commit comments

Comments
 (0)