Пример #1
0
 public void CorrectLocationValidation()
 {
     Assert.IsTrue(RobotValidation.isLocationValid("1 2 N"));
 }
Пример #2
0
 public void StringLocationValidation()
 {
     Assert.IsFalse(RobotValidation.isLocationValid("a b c"));
 }
Пример #3
0
 public void InvalidCharacterLocationValidation()
 {
     Assert.IsFalse(RobotValidation.isLocationValid("- / &"));
 }
Пример #4
0
 public void WrongDirectionLocationValidation()
 {
     Assert.IsFalse(RobotValidation.isLocationValid("1 2 C"));
 }
Пример #5
0
 public void TooManyCharacterLocationValidation()
 {
     Assert.IsFalse(RobotValidation.isLocationValid("3 4 S 2 N"));
 }