KH2 game implementation (#1438)
This commit is contained in:
27
worlds/kh2/test/TestGoal.py
Normal file
27
worlds/kh2/test/TestGoal.py
Normal file
@@ -0,0 +1,27 @@
|
||||
from . import KH2TestBase
|
||||
from ..Names import ItemName,LocationName,RegionName
|
||||
|
||||
class TestDefault(KH2TestBase):
|
||||
options = {}
|
||||
|
||||
def testEverything(self):
|
||||
self.collect_all_but([ItemName.Victory])
|
||||
self.assertBeatable(True)
|
||||
|
||||
|
||||
class TestLuckyEmblem(KH2TestBase):
|
||||
options = {
|
||||
"Goal": 1,
|
||||
}
|
||||
|
||||
def testEverything(self):
|
||||
self.collect_all_but([ItemName.LuckyEmblem])
|
||||
self.assertBeatable(True)
|
||||
|
||||
class TestHitList(KH2TestBase):
|
||||
options = {
|
||||
"Goal": 2,
|
||||
}
|
||||
def testEverything(self):
|
||||
self.collect_all_but([ItemName.Bounty])
|
||||
self.assertBeatable(True)
|
||||
5
worlds/kh2/test/__init__.py
Normal file
5
worlds/kh2/test/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from test.TestBase import WorldTestBase
|
||||
|
||||
|
||||
class KH2TestBase(WorldTestBase):
|
||||
game = "Kingdom Hearts 2"
|
||||
Reference in New Issue
Block a user