Beispiel #1
0
 private void AssertOutofBoundException(functiondelegate d)
 {
     try {
         d.Invoke();
         Assert.Fail("command did not throw");
     }
     catch (RobotOutofBoundException) { }
 }
Beispiel #2
0
 private void AssertInvalidRobotCommandException(functiondelegate d)
 {
     try
     {
         d.Invoke();
         Assert.Fail("command did not throw");
     }
     catch (InvalidRobotCommandException) { }
 }