Home
last modified time | relevance | path

Searched refs:closeTo (Results 1 – 6 of 6) sorted by relevance

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/
DIsCloseToTest.java6 import static org.hamcrest.number.IsCloseTo.closeTo;
9 private final Matcher<Double> matcher = closeTo(1.0d, 0.5d);
14 return closeTo(irrelevant, irrelevant); in createMatcher()
DBigDecimalCloseToTest.java8 import static org.hamcrest.number.BigDecimalCloseTo.closeTo;
11 private final Matcher<BigDecimal> matcher = closeTo(new BigDecimal("1.0"), new BigDecimal("0.5"));
16 return closeTo(irrelevant, irrelevant); in createMatcher()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/
DIsCloseTo.java60 public static Matcher<Double> closeTo(double operand, double error) { in closeTo() method in IsCloseTo
DBigDecimalCloseTo.java58 public static Matcher<BigDecimal> closeTo(BigDecimal operand, BigDecimal error) { in closeTo() method in BigDecimalCloseTo
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1222 public static org.hamcrest.Matcher<java.lang.Double> closeTo(double operand, double error) { in closeTo() method in Matchers
1223 return org.hamcrest.number.IsCloseTo.closeTo(operand, error); in closeTo()
1247 …public static org.hamcrest.Matcher<java.math.BigDecimal> closeTo(java.math.BigDecimal operand, jav… in closeTo() method in Matchers
1248 return org.hamcrest.number.BigDecimalCloseTo.closeTo(operand, error); in closeTo()
/external/hamcrest/
DCHANGES.txt53 * Fix issue 177 - Introduced closeTo matcher for BigDecimals