public void Test_GEDCOMEnumOPF() { Assert.AreEqual(GDMOrdinanceProcessFlag.opYes, GEDCOMUtils.GetOrdinanceProcessFlagVal(GEDCOMUtils.GetOrdinanceProcessFlagStr(GDMOrdinanceProcessFlag.opYes))); Assert.AreEqual(GDMOrdinanceProcessFlag.opNo, GEDCOMUtils.GetOrdinanceProcessFlagVal(GEDCOMUtils.GetOrdinanceProcessFlagStr(GDMOrdinanceProcessFlag.opNo))); Assert.AreEqual(GDMOrdinanceProcessFlag.opNone, GEDCOMUtils.GetOrdinanceProcessFlagVal(GEDCOMUtils.GetOrdinanceProcessFlagStr(GDMOrdinanceProcessFlag.opNone))); Assert.AreEqual(GDMOrdinanceProcessFlag.opNone, GEDCOMUtils.GetOrdinanceProcessFlagVal("unk")); }