summaryrefslogtreecommitdiff
path: root/tests/live-comparison.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-06-30 13:07:30 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-06-30 13:07:30 +0200
commit1c8d9ddad9884f0de117b7d91d3e1c4e256d5586 (patch)
tree9b456022791c94067c61b12a40263a0b41b63ec0 /tests/live-comparison.rs
parentd2cc33043ad1ca2d67b59ec8ca78a825442e5cda (diff)
Added test of newly functioning tesla towers
Diffstat (limited to 'tests/live-comparison.rs')
-rw-r--r--tests/live-comparison.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/live-comparison.rs b/tests/live-comparison.rs
index 711193e..5f87be3 100644
--- a/tests/live-comparison.rs
+++ b/tests/live-comparison.rs
@@ -13,6 +13,11 @@ fn it_successfully_simulates_replay() {
test_from_replay("tests/after_200", 64);
}
+#[test]
+fn it_successfully_simulates_replay_with_teslas() {
+ test_from_replay("tests/after_203_teslas", 60);
+}
+
fn test_from_replay(replay_folder: &str, length: usize) {
let (settings, mut state) = json::read_state_from_file(&format!("{}/Round 000/state.json", replay_folder)).unwrap();