I have a custom Type Type that implements IEquatable (Type). Then I update two instances of the type, none of them are Null
Assert.IsTrue(obj1.equals(obj2))
Assert.AreEqual(obj1, obj2)
Assert.AreEqual(Type)(obj1, obj2)
The first gets to my equal numbers, the second to ToString () Any suggestions?
Update
some code to illustrate: http://pastebin.com/1uecrfeW
more updates
If I need to override the base values, even if the best (general) values are available, then what use is the implementation of IEquals (T)?
source
share