diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-03 04:51:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 03:51:27 -0500 |
commit | e75c4b6b26ae2406a40718e084ad15421c9ce3be (patch) | |
tree | e94414fc9b3c3d8ca292222b18460b174f2f2e34 /test | |
parent | 50e452717500aaaa8ea056f127cc2c4b353c310a (diff) | |
download | lingo-apworld-e75c4b6b26ae2406a40718e084ad15421c9ce3be.tar.gz lingo-apworld-e75c4b6b26ae2406a40718e084ad15421c9ce3be.tar.bz2 lingo-apworld-e75c4b6b26ae2406a40718e084ad15421c9ce3be.zip |
Lingo: Fix Basement access with THE MASTER (#3231)
Diffstat (limited to 'test')
-rw-r--r-- | test/TestMastery.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/test/TestMastery.py b/test/TestMastery.py index 3fb3c95..6e56339 100644 --- a/test/TestMastery.py +++ b/test/TestMastery.py | |||
@@ -36,4 +36,21 @@ class TestMasteryWhenVictoryIsTheMaster(LingoTestBase): | |||
36 | self.assertFalse(self.can_reach_location("Orange Tower Seventh Floor - Mastery Achievements")) | 36 | self.assertFalse(self.can_reach_location("Orange Tower Seventh Floor - Mastery Achievements")) |
37 | 37 | ||
38 | self.collect_by_name(["Green", "Gray", "Brown", "Yellow"]) | 38 | self.collect_by_name(["Green", "Gray", "Brown", "Yellow"]) |
39 | self.assertTrue(self.can_reach_location("Orange Tower Seventh Floor - Mastery Achievements")) \ No newline at end of file | 39 | self.assertTrue(self.can_reach_location("Orange Tower Seventh Floor - Mastery Achievements")) |
40 | |||
41 | |||
42 | class TestMasteryBlocksDependents(LingoTestBase): | ||
43 | options = { | ||
44 | "mastery_achievements": "24", | ||
45 | "shuffle_colors": "true", | ||
46 | "location_checks": "insanity" | ||
47 | } | ||
48 | |||
49 | def test_requirement(self): | ||
50 | self.collect_all_but("Gray") | ||
51 | self.assertFalse(self.can_reach_location("Orange Tower Basement - THE LIBRARY")) | ||
52 | self.assertFalse(self.can_reach_location("Orange Tower Seventh Floor - MASTERY")) | ||
53 | |||
54 | self.collect_by_name("Gray") | ||
55 | self.assertTrue(self.can_reach_location("Orange Tower Basement - THE LIBRARY")) | ||
56 | self.assertTrue(self.can_reach_location("Orange Tower Seventh Floor - MASTERY")) | ||