Get rid of NUnit Assert.AreEqual()
Closed this issue · 2 comments
itadapter commented
The
Assert.AreEqual() is improperly implemented, i.e. it gives precedence to IEnumerable<>
which is used along with SequenceEquals() which is wrong.
That makes testing unpredictable in many places where some class may change interface and
that would completely silently change all of the unit tests meanings.
ArEqual() must use object.Equal only.
itadapter commented
@vlapchenko
I now use Aver. in new test dev
itadapter commented
Done in NFXv5