예제 #1
0
 public void TestValidateInvalidCall()
 {
     Guest_Op op = new Guest_Op("VAHJ");
     string err = string.Empty;
     string modStr = string.Empty;
     Assert.IsFalse(op.Validate(out err, out modStr));
     Assert.AreEqual("\tNot a valid callsign.", err);
     Assert.IsNull(modStr);
 }
예제 #2
0
 public void TestValidateValidCall()
 {
     Guest_Op op = new Guest_Op("VA3HJ");
     string err = string.Empty;
     string modStr = string.Empty;
     Assert.IsTrue(op.Validate(out err, out modStr));
     Assert.IsNull(err);
     Assert.IsNull(modStr);
 }