The assertEquals(double,double)
method is justifiably deprecated. Is there an alternate and/or different approach baked into junit - or do I roll my own tiny extension
static boolean assertEquals(double d1, double d2) {
return Math.abs(d1 - d2) < 1e-8;
}