Beispiel #1
0
 public void TestConstructor()
 {
     string err = string.Empty;
     string modStr = string.Empty;
     Ant_Path ap = new Ant_Path("G", aEnums);
     Assert.IsTrue(ap.Validate(out err, out modStr));
     Assert.IsNull(err);
     Assert.IsNull(modStr);
 }
Beispiel #2
0
 public void TestConstructor1()
 {
     string err = string.Empty;
     string modStr = string.Empty;
     Ant_Path ap = new Ant_Path("F", aEnums);
     Assert.IsFalse(ap.Validate(out err, out modStr));
     Assert.AreEqual("\tThis QSO Field is of type enumeration. The value 'F' was not found in enumeration.",
                     err);
     Assert.IsNull(modStr);
 }