public final void isNotNaN() {
    if (actual == null) {
      failWithActual(simpleFact("expected a double other than NaN"));
    } else {
      isNotEqualTo(NaN);
    }
  }
@Test
  public void isNotNaN() {
    assertThat(1.23).isNotNaN();
    assertThat(Double.MAX_VALUE).isNotNaN();
    assertThat(-1.0 * Double.MIN_VALUE).isNotNaN();
    assertThat(Double.POSITIVE_INFINITY).isNotNaN();
    assertThat(Double.NEGATIVE_INFINITY).isNotNaN();
  }