diff options
Diffstat (limited to 'test/TestMastery.py')
-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")) | ||