diff options
Diffstat (limited to 'tests/monte_carlo_test.rs')
-rw-r--r-- | tests/monte_carlo_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monte_carlo_test.rs b/tests/monte_carlo_test.rs index 71e0b07..1fb4238 100644 --- a/tests/monte_carlo_test.rs +++ b/tests/monte_carlo_test.rs @@ -15,7 +15,7 @@ fn it_does_a_normal_turn_successfully() { Err(error) => panic!("Error while parsing JSON file: {}", error) }; let max_time = Duration::milliseconds(200); - strategy::monte_carlo::choose_move(&state, &start_time, max_time); + strategy::monte_carlo::choose_move(&state, start_time, max_time); assert!(start_time.to(PreciseTime::now()) < max_time + Duration::milliseconds(50)) } |