You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NUnit is able to compare single-dimensioned arrays, multi-dimensioned arrays, nested arrays (arrays of arrays) and collections. Two arrays or collections are considered equal if they have the same dimensions and if each pair of corresponding elements is equal.
The text was updated successfully, but these errors were encountered:
In addition to the definition of equality, I would hope to be able to take advantage of NUnit's "here's how they are different" analysis. Perhaps each equality failure gets some context describing why it failed?
I think the V1 of this feature at least wants to:
(1) Take advantage of the EqualConstraint directly rather than re-implementing it, and
(2) modify the GetDebugExpresssion logic in the DebugValueExpressionVisitor to some sort of "replacement expression" or "display expression" notion, rewriting the expression tree to use the new defintion of equality when compiled but output the old operator when displayed.
https://docs.nunit.org/articles/nunit/writing-tests/assertions/classic-assertions/Assert.AreEqual.html
The text was updated successfully, but these errors were encountered: