From a56340663cc117b6a64b6306e155f4800abf2e2b Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 10 May 2022 19:48:54 +0200 Subject: [PATCH] Test: check that all_state can complete game --- test/general/TestReachability.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/general/TestReachability.py b/test/general/TestReachability.py index 331f52bf..2cadf9d2 100644 --- a/test/general/TestReachability.py +++ b/test/general/TestReachability.py @@ -22,6 +22,9 @@ class TestBase(unittest.TestCase): with self.subTest("Location should be reached", location=location): self.assertTrue(location.can_reach(state)) + with self.subTest("Completion Condition"): + self.assertTrue(world.can_beat_game(state)) + def testEmptyStateCanReachSomething(self): for game_name, world_type in AutoWorldRegister.world_types.items(): # Final Fantasy logic is controlled by finalfantasyrandomizer.com