public void DefaultConfiguration() { var sut = DeepEqualityComparer.CreateDefault <string>(); var result = sut.Equals("a", "b"); Assert.That(result, Is.False); }
public void CompareSomeObjects() { var so1 = new SomeObject { Number = 12, Text = "abc" }; var so2 = new SomeObject { Number = 12, Text = "abc" }; Assert.Equal(so2, so1, DeepEqualityComparer.CreateDefault <SomeObject>()); }