示例#1
0
 /** Asserts that the subject is {@link Float#NaN}. */
 public final void isNaN() {
   super.isEqualTo(Float.NaN);
 }
示例#2
0
 /** Asserts that the subject is {@link Float#POSITIVE_INFINITY}. */
 public final void isPositiveInfinity() {
   super.isEqualTo(Float.POSITIVE_INFINITY);
 }
示例#3
0
 /** Asserts that the subject is {@link Float#NEGATIVE_INFINITY}. */
 public final void isNegativeInfinity() {
   super.isEqualTo(Float.NEGATIVE_INFINITY);
 }
示例#4
0
 /** @deprecated Use {@link #isWithin} instead. Float comparison should always have a tolerance. */
 @Deprecated
 public final void isEqualTo(@Nullable Float other) {
   super.isEqualTo(other);
 }