Assert.assertNotEquals
- void assertNotEquals(string message, Object unexpected, Object actual)
- void assertNotEquals(Object unexpected, Object actual)
- void assertNotEquals(string message, long unexpected, long actual)
- void assertNotEquals(long unexpected, long actual)
- void assertNotEquals(string message, double unexpected, double actual, double delta)
- void assertNotEquals(double unexpected, double actual, double delta)
- void assertNotEquals(float unexpected, float actual, float delta)
class Assert
static
void
assertNotEquals
- void assertNotEquals(string message, float unexpected, float actual, float delta)
hunt Assert Assert
constructorsstatic functions
Asserts that two floats are <b>not</b> equal to within a positive delta. If they are, an {@link AssertionError} is thrown. If the unexpected value is infinity then the delta value is ignored.NaNs are considered equal: <code>assertNotEquals(Float.NaN, Float.NaN, *)</code> fails
@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.