static void Main(string[] args) { DirectoryInfo di = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory); Maze maze = new Maze(di.Parent.Parent.FullName + @"\trickMaze.maz"); PathFinder pf = new PathFinder(); pf.Moved += DrawOnMove; pf.Solve(maze); }
public void Solve() { PathFinder pf = new PathFinder(); Assert.IsTrue(pf.Solve(this.Maze)); }