mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
16 lines
485 B
Python
16 lines
485 B
Python
|
|
import unittest
|
||
|
|
from worlds import subnautica
|
||
|
|
|
||
|
|
|
||
|
|
class SubnauticaTest(unittest.TestCase):
|
||
|
|
# This is an assumption in the mod side
|
||
|
|
scancutoff: int = 33999
|
||
|
|
|
||
|
|
def testIDRange(self):
|
||
|
|
for id, name in subnautica.SubnauticaWorld.location_name_to_id.items():
|
||
|
|
with self.subTest(item=name):
|
||
|
|
if "Scan" in name:
|
||
|
|
self.assertGreater(self.scancutoff, id)
|
||
|
|
else:
|
||
|
|
self.assertLess(self.scancutoff, id)
|