diff options
Diffstat (limited to 'test/TestPanelsanity.py')
| -rw-r--r-- | test/TestPanelsanity.py | 19 |
1 files changed, 19 insertions, 0 deletions
| diff --git a/test/TestPanelsanity.py b/test/TestPanelsanity.py new file mode 100644 index 0000000..34c1b38 --- /dev/null +++ b/test/TestPanelsanity.py | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | from . import LingoTestBase | ||
| 2 | |||
| 3 | |||
| 4 | class TestPanelHunt(LingoTestBase): | ||
| 5 | options = { | ||
| 6 | "shuffle_doors": "complex", | ||
| 7 | "location_checks": "insanity", | ||
| 8 | "victory_condition": "level_2", | ||
| 9 | "level_2_requirement": "15" | ||
| 10 | } | ||
| 11 | |||
| 12 | def test_another_try(self) -> None: | ||
| 13 | self.collect_by_name("The Traveled - Entrance") # idk why this is needed | ||
| 14 | self.assertFalse(self.can_reach_location("Second Room - ANOTHER TRY")) | ||
| 15 | self.assertFalse(self.can_reach_location("Second Room - Unlock Level 2")) | ||
| 16 | |||
| 17 | self.collect_by_name("Second Room - Exit Door") | ||
| 18 | self.assertTrue(self.can_reach_location("Second Room - ANOTHER TRY")) | ||
| 19 | self.assertTrue(self.can_reach_location("Second Room - Unlock Level 2")) | ||
