@Test public void testPeanoCurveGenerator() { final GridLogoProgram mazeProgram = new PeanoCurveProgram(2, true); final GridLogoProgramRunnerMazeGenerator spaceFillingCurveMazeGenerator = new GridLogoProgramRunnerMazeGenerator(mazeProgram); spaceFillingCurveMazeGenerator.generateMaze(grid); }
@Test public void testHilbertCurveGenerator() { final GridLogoProgram mazeProgram = new HilbertCurveProgram(3, false); final GridLogoProgramRunnerMazeGenerator spaceFillingCurveMazeGenerator = new GridLogoProgramRunnerMazeGenerator(mazeProgram); spaceFillingCurveMazeGenerator.generateMaze(grid); }