public void TestValidateInvalidSota3() { Sota_Ref sota = new Sota_Ref("9A/O-036"); string err = string.Empty; string modStr = string.Empty; Assert.IsFalse(sota.Validate(out err, out modStr)); Assert.AreEqual("\t'9A/O-036' is not a valid SOTA Reference.", err); Assert.IsNull(modStr); }
public void TestValidateValidSota1() { Sota_Ref sota = new Sota_Ref("9A/OU-036"); string err = string.Empty; string modStr = string.Empty; Assert.IsTrue(sota.Validate(out err, out modStr)); Assert.IsNull(err); }