public void TestLoadMaze() { TextReader reader = new StreamReader("Hound Maze(tsv).txt"); string tsv = reader.ReadToEnd(); reader.Close(); GapHound.Business.MazeHound mh = new GapHound.Business.MazeHound(); Assert.IsNotNull(mh.LoadMaze(tsv, 5, 5)); }
public void TestSolveMaze() { TextReader reader = new StreamReader("Hound Maze(tsv).txt"); string tsv = reader.ReadToEnd(); reader.Close(); GapHound.Business.MazeHound mh = new GapHound.Business.MazeHound(); Assert.IsTrue(mh.SolveMaze(tsv, 54, 77, 12, 20, 5, 5)); }