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