public final void isNonZero() {
    if (actual == null) {
      failWithActual(simpleFact("expected a float other than zero"));
    } else if (actual.floatValue() == 0.0f) {
      failWithActual(simpleFact("expected not to be zero"));
    }
  }
@Test
  public void isNonZero() {
    assertThatIsNonZeroFails(0.0f, "expected not to be zero");
    assertThatIsNonZeroFails(-0.0f, "expected not to be zero");
    assertThat(Float.MIN_VALUE).isNonZero();
    assertThat(-1.23f).isNonZero();
    assertThat(Float.POSITIVE_INFINITY).isNonZero();
    assertThat(Float.NaN).isNonZero();
    assertThatIsNonZeroFails(null, "expected a float other than zero");
  }