public void Test_MoveAfterPlaceCmd() { Robot robot = new Robot(); PlaceAtOrigin(robot); Assert.IsTrue(robot.Move()); }
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_MoveBeforePlaceCmd() { Robot robot = new Robot(); Assert.IsFalse(robot.Move()); }