示例#1
0
 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);
 }
示例#2
0
 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);
 }