aumcode / nfx

C# Server UNISTACK framework [MOVED]
https://github.com/agnicore/nfx
Other
391 stars 93 forks source link

Get rid of NUnit Assert.AreEqual() #30

Closed itadapter closed 6 years ago

itadapter commented 7 years ago

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 7 years ago

@vlapchenko I now use Aver. in new test dev

itadapter commented 6 years ago

Done in NFXv5