(String[] args)
| 36 | } |
| 37 | |
| 38 | public static void main(String[] args) { |
| 39 | int size = 5; |
| 40 | maze = AssortedMethods.randomMatrix(size, size, 0, 5); |
| 41 | |
| 42 | AssortedMethods.printMatrix(maze); |
| 43 | |
| 44 | ArrayList<Point> path = new ArrayList<Point>(); |
| 45 | boolean success = getPath(size - 1, size - 1, path); |
| 46 | if (success) { |
| 47 | String s = AssortedMethods.listOfPointsToString(path); |
| 48 | System.out.println(s); |
| 49 | } else { |
| 50 | System.out.println("No path found."); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | } |
nothing calls this directly
no test coverage detected