public void RoverCommandM() { RoverInputExecuter.Execute(Rover, 'M'); Assert.AreEqual(Rover.Position.Point, new Point(1, 2)); }
public void RoverCommandL_M() { RoverInputExecuter.Execute(Rover, "LM"); Assert.AreEqual(Rover.Position.Point, new Point(0, 1)); }
public void RoverCommandR() { RoverInputExecuter.Execute(Rover, 'R'); Assert.AreEqual(Rover.Position.Heading, Cardinals.Get("E")); }