Closed
Description
Could classes like Force and Torque implement IEquatable, in addition to IComparable which is already implemented? This will make life easier when verifying that two Force or Torque objects are equal in automated tests.
Example: Can then write: Assert.AreEqual(force1, force2);
Instead of: Assert.AreEqual(0, force1.CompareTo(force2)); or Assert.IsTrue(force1.CompareTo(force2) == 0);
Metadata
Metadata
Assignees
Labels
No labels