Ejemplo n.º 1
0
        public void Test_AddEmailAddress()
        {
            string        value    = "*****@*****.**";
            GEDCOMAddress instance = (GEDCOMAddress)GEDCOMAddress.Create(null, null, "", "");

            instance.AddEmailAddress(value);
            GEDCOMList <GEDCOMTag> pl = instance.EmailAddresses;

            Assert.AreEqual(1, pl.Count);
            string res = pl.Extract(0).StringValue;

            Assert.AreEqual(res, value);
        }