DeepEqual
DeepEqual copied to clipboard
An extensible deep comparison for .NET
Is there a way to ignore comparison of double/float values if they are both NaN? Currently I see the comparison fail
Given the example below, I would never expect the object Foo carrying the value 12 to equal 42. It seems like a bug to me, and I'm afraid it'll result...
`.VisitingIndex` makes a copy of the entire context, which then gets merged with the same original context, duplicating the `Differences`. In case a difference was detected at the start of...
It seems that by default instances of different enum types are never evaluated as deep-equal, even if their names match. I have to apply `SkipDefault().SkipDefault()` or `WithCustomComparison(new EnumComparison())` to get...
```TypeComparer``` Returns failure when types don't match. Inconclusive otherwise.
Pure methods do not have side effects. Changing the IgnoredProperty list of ComparisonBuilder inside CompareSyntax is an side effect since it is changing non-local resource. Thank you for the great...
The following test passed in 2.0.0 but fails in 4.2.1 as it returns a Pass now. Is this intended? [Fact] public void ComparingObjectsWithNoProperties_DifferentType() { var comparer = (IComparison)new ComparisonBuilder().Create(); var...