From 614633b4915634f5ac27756ce65eb2d2c61126d6 Mon Sep 17 00:00:00 2001 From: DivvyCr Date: Thu, 6 Aug 2020 17:36:52 +0100 Subject: [PATCH] Record + add new replay (7_BUMPS) and test that. --- carball/tests/stats/bump_test.py | 4 ++-- carball/tests/utils.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/carball/tests/stats/bump_test.py b/carball/tests/stats/bump_test.py index 5c51974e..40982aa8 100644 --- a/carball/tests/stats/bump_test.py +++ b/carball/tests/stats/bump_test.py @@ -11,6 +11,6 @@ def test(analysis: AnalysisManager): for i in proto_game.game_stats.bumps: if not i.is_demo: count_bumps += 1 - assert count_bumps == 4 + assert count_bumps == 7 - run_analysis_test_on_replay(test, get_raw_replays()["4_BUMPS"], cache=replay_cache) + run_analysis_test_on_replay(test, get_raw_replays()["7_BUMPS"], cache=replay_cache) diff --git a/carball/tests/utils.py b/carball/tests/utils.py index b769557d..ba916286 100644 --- a/carball/tests/utils.py +++ b/carball/tests/utils.py @@ -108,6 +108,7 @@ def get_raw_replays(): "1_DEMO": ["1_DEMO.replay", "1_DEMO_1_63.replay"], "3_BUMPS": ["3_BUMPS.replay"], "4_BUMPS": ["4_BUMPS.replay"], + "7_BUMPS": ["7_BUMPS.replay"], # Boost "3_STEAL_ORANGE_0_STEAL_BLUE": ["3_STEALS.replay"],