public void GedComComparison_GedcomFamilyRecord_IsEquivalentTo_ExpectAreEqual()
        {
            // Arrange
            var object1 = new GedcomFamilyRecord {
                Database = new GedcomDatabase()
            };
            var object2 = new GedcomFamilyRecord {
                Database = new GedcomDatabase()
            };

            // Act and Assert
            Assert.True(object1.IsEquivalentTo(object2));
            Assert.True(object2.IsEquivalentTo(object1));
        }
Ejemplo n.º 2
0
 private void Family_record_is_not_equal_to_null_test()
 {
     Assert.False(famRec1.IsEquivalentTo(null));
 }