public class BigDecRoundingMatcher
extends org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>
| Constructor and Description |
|---|
BigDecRoundingMatcher(int roundingScale,
java.math.RoundingMode roundingMode,
org.hamcrest.Matcher<? super java.math.BigDecimal> roundedValueMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(java.math.BigDecimal num,
org.hamcrest.Description out) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(java.math.BigDecimal num) |
public BigDecRoundingMatcher(int roundingScale,
java.math.RoundingMode roundingMode,
org.hamcrest.Matcher<? super java.math.BigDecimal> roundedValueMatcher)
protected boolean matchesSafely(java.math.BigDecimal num)
matchesSafely in class org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(java.math.BigDecimal num,
org.hamcrest.Description out)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<java.math.BigDecimal>