mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
15 lines
333 B
Python
15 lines
333 B
Python
import numpy
|
|
from amaz_lib.MazeGenerator import DepthFirstSearch
|
|
|
|
|
|
class TestMazeGenerator:
|
|
|
|
def test_generator(self) -> None:
|
|
w_h = (50, 50)
|
|
maze = numpy.array([])
|
|
generator = DepthFirstSearch().generator(*w_h)
|
|
for output in generator:
|
|
maze = output
|
|
|
|
assert maze.shape == w_h
|