public void YmnosGroupTest_Equals3() { var element1 = new YmnosGroup() { Ihos = 1, Annotation = new ItemText() }; element1.Annotation.AddOrUpdate("cs-ru", "Феофа́ново"); var element2 = new YmnosGroup() { Ihos = 1, Annotation = new ItemText() }; element2.Annotation.AddOrUpdate("cs-cs", "Феофа́ново"); Assert.IsFalse(element1.Equals(element2)); }
public void YmnosGroupTest_Equals3() { YmnosGroup element1 = new YmnosGroup() { Annotation = new ItemText(@"<annotation> <item language=""cs-ru"">Феофа́ново</item> </annotation>"), Ihos = 1, //Prosomoion = new Prosomoion() }; YmnosGroup element2 = new YmnosGroup() { Annotation = new ItemText(@"<annotation> <item language=""cs-cs"">Феофа́ново</item> </annotation>"), Ihos = 1, //Prosomoion = new Prosomoion() }; Assert.IsFalse(element1.Equals(element2)); }