Example #1
0
 public void Test_LeftAfterPlaceCmd()
 {
     Robot robot = new Robot();
     PlaceAtOrigin(robot);
     robot.Left();
     Assert.AreEqual(robot.Face, Direction.West);
 }
Example #2
0
 public void Test_LeftBeforePlaceCmd()
 {
     Robot robot = new Robot();
     Assert.IsFalse(robot.Left());
 }