public static GEDCOMDate CreateApproximated(GEDCOMTree owner, GEDCOMObject parent, GEDCOMDate date, GEDCOMApproximated approximated) { GEDCOMDate result = new GEDCOMDate(owner, parent, "", ""); result.Assign(date); result.Approximated = approximated; return(result); }
public void testAssign() { // TODO review the generated test code and remove the default call to fail. GEDCOMDate instance = new GEDCOMDate(null, null, "", ""); GEDCOMTag source = null; //Assert.Throws(typeof(ArgumentNullException), () => { instance.Assign(source); //}); }