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); }
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); }
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); }