public void EqualsObjectTest() { GroupedProperties groupProperties = new GroupedProperties(); groupProperties.Add(Default); groupProperties.Add(Default, Name, NameValue); groupProperties.Add(Default, Email, EmailValue); bool bRet = groupProperties.Equals((object)groupProperties); Assert.IsTrue(bRet); }
public void EqualsFalse2Test() { GroupedProperties groupProperties = new GroupedProperties(); groupProperties.Add(Default); groupProperties.Add(Default, Name, NameValue); groupProperties.Add(Default, Email, EmailValue); GroupedProperties othergroupProperties = new GroupedProperties(); othergroupProperties.Add(Default); othergroupProperties.Add(Default, Name, NameValue); othergroupProperties.Add(Default, Email, NotEmailValue); bool bRet = groupProperties.Equals(othergroupProperties); Assert.IsFalse(bRet); }