public void ReportAnEncounteredObstacle(string command, string expectedOutput) { _marsRover = new MarsRover(_gridObstacle); var output = _marsRover.RunCommand(command); Assert.Equal(expectedOutput, output); }
public void Turn(string command, Direction expectedDirection) { _marsRover.RunCommand(command); Assert.Equal(expectedDirection, _marsRover.Orientation); }