diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-07-15 22:05:19 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-07-15 22:05:19 +0200 |
commit | cfbd535191552fc085762738c820f3cbc49a0ebd (patch) | |
tree | b85c606c658226326b83fb191794266c80451076 /tests/live_comparison.rs | |
parent | daa60184c6e52c82008ed375c7a2d4f7e65dfab0 (diff) |
Implemented shooting teslas in the same order as the game engine
Order by age
Diffstat (limited to 'tests/live_comparison.rs')
-rw-r--r-- | tests/live_comparison.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/live_comparison.rs b/tests/live_comparison.rs index 2fcc8b5..23beaec 100644 --- a/tests/live_comparison.rs +++ b/tests/live_comparison.rs @@ -30,6 +30,8 @@ fn test_from_replay(replay_folder: &str, length: usize) { state.simulate(&settings, player, opponent); state.sort(); expected_state.sort(); + + println!("State {}: {:?}", i+1, state); assert_eq!(state, expected_state, "\nFailed on state {}\n", i+1); } } |