question: static public void assertEquals ( String message , double expected , double actual , double delta ) { if ( Double . isInfinite ( expected ) ) { if ( ! ( expected == actual ) ) failNotEquals ( message , new Double ( expected ) , new Double ( actual ) ) ; } else if ( ! ( Math . abs ( expected - actual ) <= delta ) ) failNotEquals ( message , new Double ( expected ) , new Double ( actual ) ) ; }
target:  Asserts that two doubles are equal concerning a delta.  If they are not an AssertionFailedError is thrown with the given message.  If the expected value is infinity then the delta value is ignored.