/** Asserts that the subject is {@link Float#NaN}. */ public final void isNaN() { super.isEqualTo(Float.NaN); }
/** Asserts that the subject is {@link Float#NEGATIVE_INFINITY}. */ public final void isNegativeInfinity() { super.isEqualTo(Float.NEGATIVE_INFINITY); }
/** @deprecated Use {@link #isWithin} instead. Float comparison should always have a tolerance. */ @Override @Deprecated public final void isEquivalentAccordingToCompareTo(Float other) { super.isEquivalentAccordingToCompareTo(other); }
/** Asserts that the subject is {@link Float#POSITIVE_INFINITY}. */ public final void isPositiveInfinity() { super.isEqualTo(Float.POSITIVE_INFINITY); }
/** * @deprecated Use {@link #isNotWithin} instead. Float comparison should always have a tolerance. */ @Deprecated public final void isNotEqualTo(@Nullable Float other) { super.isNotEqualTo(other); }