From 26aefe70fa11f209726e5b8a15bd05303726396e Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 1 Jul 2018 18:06:05 +0200 Subject: Set up (failing) property test for working of new game state Unfortunately, for this test to work, I still need to implement the function that reads the game state and goes from one to the other. --- src/bin/perf-test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/perf-test.rs') diff --git a/src/bin/perf-test.rs b/src/bin/perf-test.rs index 054258f..42b4def 100644 --- a/src/bin/perf-test.rs +++ b/src/bin/perf-test.rs @@ -10,7 +10,7 @@ use std::process; fn main() { let start_time = PreciseTime::now(); - let (settings, state) = match input::json::read_state_from_file(STATE_PATH) { + let (settings, state) = match input::json::read_expressive_state_from_file(STATE_PATH) { Ok(ok) => ok, Err(error) => { println!("Error while parsing JSON file: {}", error); -- cgit v1.2.3