public void Test_RightAfterPlaceCmd() { Robot robot = new Robot(); PlaceAtOrigin(robot); robot.Right(); Assert.AreEqual(robot.Face, Direction.East); }
public void Test_ReportAfterPlaceCmd() { Robot robot = new Robot(); PlaceAtOrigin(robot); robot.Move(); robot.Right(); Assert.AreEqual(robot.Report(), "Output: 0,1,EAST"); }
public void Test_RightBeforePlaceCmd() { Robot robot = new Robot(); Assert.IsFalse(robot.Right()); }