public string Run() { _rover.Run(_marsMap, _roverInstructions); string result = _rover.ShowStatus(); Console.WriteLine(result); return(result); }
public void RoverTest() { _Rover.Run(); int xCoordinate = _Rover.XCoordinate; int yCoordinate = _Rover.YCoordinate; string directionFacing = _Rover.DirectionFacing; Assert.AreEqual(3, xCoordinate); Assert.AreEqual(3, yCoordinate); Assert.AreEqual("S", directionFacing); }