Fixing lines and spaces and restoring labyOutput

This commit is contained in:
regar42 committed 2017-12-16 17:41:02 +01:00
1 parent a5d0df4b96
commit bac9b54d58
16 files changed
+45 -55

No files matched your search

+6 -6
View File
@@ -7,19 +7,19 @@ import ui.*;
public class MainTest {
public static void main(String[] args) {
Maze mazeTest = new Maze("data/labyrinthe.txt") ;
Previous previous = (Previous) Dijkstra.dijkstra(mazeTest, mazeTest.getMaze()[1][1]);
ArrayList<VertexInterface> shortest = previous.getShortestPathTo(mazeTest.getMaze()[5][5]);
for (VertexInterface vertex : shortest) {
System.out.println(vertex);
}
mazeTest.saveToTextFile("data/labyOutput.txt");
new MazeApp();
}