mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Subnautica: fix the test that I didn't mean to push yet
This commit is contained in:
@@ -7,9 +7,9 @@ class SubnauticaTest(unittest.TestCase):
|
|||||||
scancutoff: int = 33999
|
scancutoff: int = 33999
|
||||||
|
|
||||||
def testIDRange(self):
|
def testIDRange(self):
|
||||||
for id, name in subnautica.SubnauticaWorld.location_name_to_id.items():
|
for name, id in subnautica.SubnauticaWorld.location_name_to_id.items():
|
||||||
with self.subTest(item=name):
|
with self.subTest(item=name):
|
||||||
if "Scan" in name:
|
if "Scan" in name:
|
||||||
self.assertGreater(self.scancutoff, id)
|
|
||||||
else:
|
|
||||||
self.assertLess(self.scancutoff, id)
|
self.assertLess(self.scancutoff, id)
|
||||||
|
else:
|
||||||
|
self.assertGreater(self.scancutoff, id)
|
||||||
|
Reference in New Issue
Block a user