I have two lists, I want to check whether the two lists are the same ( order not important), and whether it's the same depends on the IEqualityComparer
instance I implement.
The ideal case is that I can use CollectionAssert.AreEquivalent
with Custom IEqualityComparer
. However it seems that CollectionAssert.AreEquivalent
doesn't take in any IEqualityComparer
.
Any idea on how to do this in a succinct and reusable manner?