Closed GoogleCodeExporter closed 8 years ago
The current version seems to work for gt, lt, etc.
Should we change IsEqual to detect Comparables?
Original comment by smgfree...@gmail.com
on 13 Oct 2008 at 6:57
No. If some classes define equals and numeric comparison differently, then
IsEqual
should reflect that.
We could use the numeric comparison matcher to implement a numericallyEqualTo(n)
factory function.
Original comment by nat.pr...@gmail.com
on 13 Oct 2008 at 7:09
added comparesEqualTo
Original comment by smgfree...@gmail.com
on 13 Oct 2008 at 9:26
Original issue reported on code.google.com by
fordf...@gmail.com
on 10 Aug 2007 at 4:42