summaryrefslogtreecommitdiff
path: root/tests/monte_carlo_test.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-09-08 10:36:09 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-09-08 10:36:09 +0200
commit32e1dedc420c1011f63aaa90ed96fa19d2590a77 (patch)
treee275b238fc529bf8a9ea6be3036495322a3d4cf2 /tests/monte_carlo_test.rs
parent0da5a09df776ba7f08550641d990707392c24e4c (diff)
Feature-flaggified weighting win ratios
Diffstat (limited to 'tests/monte_carlo_test.rs')
-rw-r--r--tests/monte_carlo_test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monte_carlo_test.rs b/tests/monte_carlo_test.rs
index 470c92d..cec3256 100644
--- a/tests/monte_carlo_test.rs
+++ b/tests/monte_carlo_test.rs
@@ -27,7 +27,7 @@ fn it_does_a_normal_tree_serach_turn_successfully() {
Ok(ok) => ok,
Err(error) => panic!("Error while parsing JSON file: {}", error)
};
- let max_time = Duration::milliseconds(20000);
+ let max_time = Duration::milliseconds(200);
strategy::monte_carlo_tree::choose_move(&state, start_time, max_time);
assert!(start_time.to(PreciseTime::now()) < max_time + Duration::milliseconds(50))