Assert.assertNotEquals

Asserts that two doubles are <b>not</b> equal to within a positive delta. If they are, an {@link AssertionError} is thrown with the given message. If the unexpected value is infinity then the delta value is ignored. NaNs are considered equal: <code>assertNotEquals(Double.NaN, Double.NaN, *)</code> fails

@param message the identifying message for the {@link AssertionError} (<code>null</code> okay) @param unexpected unexpected value @param actual the value to check against <code>unexpected</code> @param delta the maximum delta between <code>unexpected</code> and <code>actual</code> for which both numbers are still considered equal.

Meta