Interface IAssertEqualityComparer<T>
Represents a specialized version of IEqualityComparer<T> that returns information useful when formatting results for assertion failures.
public interface IAssertEqualityComparer<T> : IEqualityComparer<T>
Type Parameters
TThe type of the objects being compared.
- Inherited Members
- Extension Methods
Methods
Equals(T?, CollectionTracker?, T?, CollectionTracker?)
Compares two values and determines if they are equal.
AssertEqualityResult Equals(T? x, CollectionTracker? xTracker, T? y, CollectionTracker? yTracker)
Parameters
xTThe first value
xTrackerCollectionTrackerThe first value as a CollectionTracker (if it's a collection)
yTThe second value
yTrackerCollectionTrackerThe second value as a CollectionTracker (if it's a collection)
Returns
- AssertEqualityResult
Success or failure information