public void TestThat_X9RecordsOfDifferentTypes_AreNotEqual() { // Arrange var record1 = new TestX9(); var record2 = new TestOtherX9(); // Act var result = record1.Equals(record2); // Assert Assert.False(result); }
public void TestThat_X9RecordsWithTheSamePropertyValues_AreEqual(string val1, string val2, bool expected) { // Arrange var record1 = new TestOtherX9 { NotNull = val1 }; var record2 = new TestOtherX9 { NotNull = val2 }; // Assert var result = record1.Equals(record2); // Assert Assert.Equal(expected, result); }