Update TestSuite with OW shuffle options

This commit is contained in:
codemann8
2021-05-23 23:20:20 -05:00
parent daae593aa8
commit 9d70a8c19d
14 changed files with 42 additions and 66 deletions

View File

@@ -34,29 +34,19 @@ class TestLightWorld(TestVanilla):
["Aginah's Cave", True, []],
["Sahasrahla's Hut - Left", True, []],
["Sahasrahla's Hut - Middle", True, []],
["Sahasrahla's Hut - Right", True, []],
["Kakariko Well - Top", True, []],
["Kakariko Well - Left", True, []],
["Kakariko Well - Middle", True, []],
["Kakariko Well - Right", True, []],
["Kakariko Well - Bottom", True, []],
["Blind's Hideout - Top", True, []],
["Blind's Hideout - Left", True, []],
["Blind's Hideout - Right", True, []],
["Blind's Hideout - Far Left", True, []],
["Blind's Hideout - Far Right", True, []],
["Bonk Rock Cave", False, []],
@@ -64,11 +54,8 @@ class TestLightWorld(TestVanilla):
["Bonk Rock Cave", True, ['Pegasus Boots']],
["Mini Moldorm Cave - Far Left", True, []],
["Mini Moldorm Cave - Left", True, []],
["Mini Moldorm Cave - Right", True, []],
["Mini Moldorm Cave - Far Right", True, []],
["Ice Rod Cave", True, []],

View File

@@ -2,6 +2,7 @@ from BaseClasses import World
from DoorShuffle import link_doors
from Doors import create_doors
from Dungeons import create_dungeons, get_dungeon_item_pool
from OverworldShuffle import link_overworld
from EntranceShuffle import link_entrances
from ItemList import difficulties, generate_itempool
from Items import ItemFactory
@@ -13,7 +14,7 @@ from test.TestBase import TestBase
class TestVanilla(TestBase):
def setUp(self):
self.world = World(1, {1:'vanilla'}, {1:'vanilla'}, {1:'noglitches'}, {1:'open'}, {1:'random'}, {1:'normal'}, {1:'normal'}, 'none', 'on', {1:'ganon'}, 'balanced', {1:'items'},
self.world = World(1, {1:'vanilla'}, {1:'vanilla'}, {1:'vanilla'}, {1:'noglitches'}, {1:'open'}, {1:'random'}, {1:'normal'}, {1:'normal'}, 'none', 'on', {1:'ganon'}, 'balanced', {1:'items'},
{1:True}, {1:False}, False, None, {1:False})
self.world.difficulty_requirements[1] = difficulties['normal']
self.world.intensity = {1:1}
@@ -23,6 +24,7 @@ class TestVanilla(TestBase):
create_doors(self.world, 1)
create_rooms(self.world, 1)
create_dungeons(self.world, 1)
link_overworld(self.world, 1)
link_entrances(self.world, 1)
link_doors(self.world, 1)
generate_itempool(self.world, 1)