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