/**
 * MazeTest.java
 *
 * Caitlin Ross
 * 100735219
 */
 
public class MazeTest {
    
    public static void main(String[] args) {
    	//Initialize array of example mazes
    	int numEx = MazeExample.NUM_OF_EXAMPLES;
    	Maze ex[] = new Maze[numEx];
    	
    	//Initialize example mazes
    	ex[0] = MazeExample.example1();
    	ex[1] = MazeExample.example2();
    	ex[2] = MazeExample.example3();
    	ex[3] = MazeExample.example4();
    	ex[4] = MazeExample.example5();
    	
    	//Print and solve example mazes, then print solution
    	for(int i=0; i<numEx; i++){
    		System.out.println("Printing maze " + (i+1) + ": ");
    		ex[i].print();
    		System.out.println();
    		ex[i].solve();
    		ex[i].print();
    		System.out.println();
    	}
    }
}
