public void DeadTest2() { string[] directions = new string[] { "N", "N", "N", "N", "N", "E", "E", "S", "S", "S", "S", "S", "S" }; MazeRunner test = new MazeRunner(); string result = test.mazeRunner(maze, directions); Assert.AreEqual("Dead", result, "Should return: 'Dead'"); }
public void LostTest1() { string[] directions = new string[] { "N", "E", "E", "E", "E" }; MazeRunner test = new MazeRunner(); string result = test.mazeRunner(maze, directions); Assert.AreEqual("Lost", result, "Should return: 'Lost'"); }
public void FinishTest3() { string[] directions = new string[] { "N", "N", "N", "N", "N", "E", "E", "E", "E", "E", "W", "W" }; MazeRunner test = new MazeRunner(); string result = test.mazeRunner(maze, directions); Assert.AreEqual("Finish", result, "Should return: 'Finish'"); }