Test: check that all_state can complete game

This commit is contained in:
Fabian Dill 2022-05-10 19:48:54 +02:00 committed by KonoTyran
parent e3900e9f99
commit a56340663c
1 changed files with 3 additions and 0 deletions

View File

@ -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