O'Reilly logo
  • Tom Regan thinks this is interesting:

compareTo(expected)

From

Cover of Functional Programming in Java

Note

Aaaaaarrrrrrrggggggghhhhhh!

assertEquals(new​ ​BigDecimal​(​"6010.00"​), calculateNAV.computeStockWorth(​"GOOG"​, 1000))