public void testCreate() { const string tagName = "BLAH"; GEDCOMTag result = GEDCOMDate.Create(null, null, tagName, ""); Assert.IsNotNull(result); Assert.AreEqual(tagName, result.Name); }
public void testCreate() { GEDCOMTree owner = null; GEDCOMObject parent = null; string tagName = "BLAH"; string tagValue = ""; GEDCOMTag expResult = null; GEDCOMTag result = GEDCOMDate.Create(owner, parent, tagName, tagValue); Assert.IsNotNull(result); Assert.AreEqual(tagName, result.Name); }