/** Test of run method, of class BreadthFirst. */ @Test public void testRun() { System.out.println("run"); Maze maze = new Maze(); maze.setStart(maze.getMazeCell(0, 0)); BreadthFirst instance = new BreadthFirst(); instance.run(maze); MazeCell cell = maze.getStart(); Node[] nodes = cell.getNodes(); for (Node node : nodes) { if (node != null) { assertTrue(0.5 == node.getValue()); } } }