Ejemplo n.º 1
0
 public void TestValidateSpecialCall()
 {
     Eq_Call call = new Eq_Call("8J2KSG7X");
     string err = string.Empty;
     string modStr = string.Empty;
     Assert.IsTrue(call.Validate(out err, out modStr));
     Assert.IsNull(err);
     Assert.IsNull(modStr);
 }
Ejemplo n.º 2
0
 public void TestValidateInvalidCall()
 {
     Eq_Call call = new Eq_Call("VAHJ");
     string err = string.Empty;
     string modStr = string.Empty;
     Assert.IsFalse(call.Validate(out err, out modStr));
     Assert.AreEqual("\t'VAHJ' is not a valid callsign.", err);
     Assert.IsNull(modStr);
 }
Ejemplo n.º 3
0
 public void TestValidateValidCall()
 {
     Eq_Call call = new Eq_Call("VA3HJ");
     string err = string.Empty;
     string modStr = string.Empty;
     Assert.IsTrue(call.Validate(out err, out modStr));
     Assert.IsNull(err);
     Assert.IsNull(modStr);
 }