Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-collections/pull/29 `assertEquals(MapUtils.getDouble(in,"key", 0.0), 2.0, 0);` etc. should be `assertEquals(2.0, MapUtils.getDouble(in,"key", 0.0), 0);` because it is `assertEquals(double expected, double actual, double delta)` Also two test fail for locales that do no use `.` as the decimal separator (e.g. germany) ``` Failed tests: MapUtilsTest.testgetDoubleValue:956 expected:<20.0> but was:<2.0> MapUtilsTest.testgetFloatValue:974 expected:<20.0> but was:<2.0> ```
--- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org