public DoubleArrayAsIterable usingTolerance(double tolerance) {
    return new DoubleArrayAsIterable(tolerance(tolerance), iterableSubject());
  }
@Test
  public void usingTolerance_contains_failureWithNaN() {
    expectFailureWhenTestingThat(array(1.1, NaN, 3.3))
        .usingTolerance(DEFAULT_TOLERANCE)
        .contains(NaN);
    assertFailureKeys("value of", "expected to contain", "testing whether", "but was");
    assertFailureValue("expected to contain", "NaN");
    assertFailureValue("but was", "[1.1, NaN, 3.3]");
  }