public final void isNotNaN() {
    if (actual == null) {
      failWithActual(simpleFact("expected a float other than NaN"));
    } else {
      isNotEqualTo(NaN);
    }
  }
@Test
  public void isNotNaNIsNaN() {
    expectFailureWhenTestingThat(Float.NaN).isNotNaN();
  }