public void TestIsInEnumerationTrue() { string err = string.Empty; Contest_Id id = new Contest_Id("RAC-CANADA-WINTER", aEnums); Assert.IsTrue(id.IsInEnumeration(out err)); Assert.AreEqual(null, err); }
public void TestIsInEnumerationFalse() { string err = string.Empty; Contest_Id id = new Contest_Id("e6", aEnums); Assert.IsFalse(id.IsInEnumeration(out err)); Assert.AreEqual("\tThis QSO Field is of type enumeration. The value 'e6' " + "was not found in enumeration.", err); }