Add testing for the no_lone_walls option
This commit is contained in:
parent
fe9dfdf242
commit
3d7667573e
@ -9,7 +9,10 @@ from squirrelbattle.mapgeneration import randomwalk
|
||||
|
||||
class TestRandomWalk(unittest.TestCase):
|
||||
def setUp(self) -> None:
|
||||
self.generator = randomwalk.Generator()
|
||||
#we set no_lone_walls to true for 100% coverage
|
||||
params = randomwalk.DEFAULT_PARAMS
|
||||
params["no_lone_walls"] = True
|
||||
self.generator = randomwalk.Generator(params = params)
|
||||
|
||||
def test_starting(self) -> None:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user