public FloatArrayAsIterable usingTolerance(double tolerance) {
    return new FloatArrayAsIterable(tolerance(tolerance), iterableSubject());
  }
@Test
  public void usingTolerance_contains_failure() {
    expectFailureWhenTestingThat(array(1.1f, INTOLERABLE_2POINT2, 3.3f))
        .usingTolerance(DEFAULT_TOLERANCE)
        .contains(2.0f);
    assertFailureKeys("value of", "expected to contain", "testing whether", "but was");
    assertFailureValue("expected to contain", Float.toString(2.0f));
    assertFailureValue(
        "testing whether",
        "actual element is a finite number within "
            + (double) DEFAULT_TOLERANCE
            + " of expected element");
    assertFailureValue("but was", "[" + 1.1f + ", " + INTOLERABLE_2POINT2 + ", " + 3.3f + "]");
  }