Hi Charlie, hi Simone,

I mostly share the analysis made by Simone. I browsed yesterday .NET
types implementing IEquatable<T> (which I forgot to do when I opened the
ticket) and that's true that most but not all CLR types implementing
IEquatable<T> also override Equals(object). Thinking about it, that's
even a little weird that MS specs do not mention anything about the
relationship between both... Anyway, if you can get Nunit to handle
IEquatable<t>, that's be nice.

Thanks in advance,

Lionel

-- 
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/676560

Title:
  Assert.AreEqual does not support IEquatable<T>

Status in NUnit Test Framework:
  Triaged
Status in NUnit V2 Test Framework:
  In Progress

Bug description:
  Assert.AreEqual does not support IEquatable<T>, ie Assert.AreEqual
  always returns false when comparing two objects for which
  IEquatable<T>.Equal would return true.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/676560/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to     : nunit-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nunit-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to