@Test
 public void testRecursiveBacktrackerMazeGenerator() {
   final RecursiveBacktrackerMazeGenerator mazeGenerator =
       new RecursiveBacktrackerMazeGenerator(randomGenerator);
   grid.getTopLeftSquare().setState(MazeDefinitionState.ENTRANCE, true);
   mazeGenerator.generateMaze(grid);
 }
 @Test
 public void testAldousBroderMazeGenerator() {
   final AldousBroderMazeGenerator mazeGenerator = new AldousBroderMazeGenerator(randomGenerator);
   grid.getTopLeftSquare().setState(MazeDefinitionState.ENTRANCE, true);
   mazeGenerator.generateMaze(grid);
   // assertTrue(new RecursiveBacktrackerSolver().solve(new
   // Graph.UtilityWrapper(grid).getEntrance()));
 }
 @Test
 public void testWallSetup() {
   assertTrue(
       grid.getSquare(new Position(1, 1)).getWall(RIGHT)
           == grid.getSquare(new Position(2, 1)).getWall(LEFT));
 }
 @Test
 public void testMatrixStorage() {
   grid.getSquare(new Position(4, 3)).setState(15, true);
   assertTrue(mazeMatrix.get(new Position(4 * 2 + 1, 3 * 2 + 1)).hasState(15));
 }
 @Test
 public void testKruskalMazeGenerator() {
   final KruskalMazeGenerator mazeGenerator = new KruskalMazeGenerator(randomGenerator);
   grid.getTopLeftSquare().setState(MazeDefinitionState.ENTRANCE, true);
   mazeGenerator.generateMaze(grid);
 }