public class BigDecimals extends Numbers<BigDecimal>
BigDecimal
s.Constructor and Description |
---|
BigDecimals(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
protected BigDecimal |
absDiff(BigDecimal actual,
BigDecimal other) |
protected boolean |
areEqual(BigDecimal value1,
BigDecimal value2) |
static BigDecimals |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy . |
protected boolean |
isGreaterThan(BigDecimal value,
BigDecimal other) |
protected BigDecimal |
one() |
protected BigDecimal |
zero() |
assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualTo
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, checkBoundsValidity, equals, getComparator, hashCode, toString
public BigDecimals(ComparisonStrategy comparisonStrategy)
public static BigDecimals instance()
StandardComparisonStrategy
.StandardComparisonStrategy
.protected BigDecimal zero()
zero
in class Numbers<BigDecimal>
protected BigDecimal one()
one
in class Numbers<BigDecimal>
protected BigDecimal absDiff(BigDecimal actual, BigDecimal other)
absDiff
in class Numbers<BigDecimal>
protected boolean isGreaterThan(BigDecimal value, BigDecimal other)
isGreaterThan
in class Numbers<BigDecimal>
protected boolean areEqual(BigDecimal value1, BigDecimal value2)
areEqual
in class Numbers<BigDecimal>
Copyright © 2014–2019 AssertJ. All rights reserved.