diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-08-11 17:10:28 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-08-11 17:10:28 +0200 |
commit | 8a562b9f8cd37fe23bc61974ee2124d77bbd9885 (patch) | |
tree | e28841ad8f338a59f53990058c7ca32e635c8314 /tests/monte_carlo_test.rs | |
parent | 856a6a17aa927e95e33cffcbd178efe86ce14262 (diff) |
Clippy-suggested edits
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)) } |