Test: check that all_state can complete game

This commit is contained in:
Fabian Dill authored and KonoTyran committed 2022-05-10 19:20:15 -07:00
1 parent e3900e9f99
commit a56340663c
1 file changed
+3
+3
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