Package org.assertj.core.internal
Class BigIntegers
- java.lang.Object
-
- org.assertj.core.internal.Comparables
-
- org.assertj.core.internal.Numbers<BigInteger>
-
- org.assertj.core.internal.BigIntegers
-
public class BigIntegers extends Numbers<BigInteger>
Reusable assertions for
s.BigInteger
-
-
Constructor Summary
Constructors Constructor Description BigIntegers(ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigInteger
absDiff(BigInteger actual, BigInteger other)
static BigIntegers
instance()
Returns the singleton instance of this class based onStandardComparisonStrategy
.protected boolean
isGreaterThan(BigInteger value, BigInteger other)
protected BigInteger
one()
protected BigInteger
zero()
-
Methods inherited from class org.assertj.core.internal.Numbers
assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero
-
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator
-
-
-
-
Constructor Detail
-
BigIntegers
public BigIntegers(ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
instance
public static BigIntegers instance()
Returns the singleton instance of this class based onStandardComparisonStrategy
.- Returns:
- the singleton instance of this class based on
StandardComparisonStrategy
.
-
zero
protected BigInteger zero()
- Specified by:
zero
in classNumbers<BigInteger>
-
one
protected BigInteger one()
- Specified by:
one
in classNumbers<BigInteger>
-
absDiff
protected BigInteger absDiff(BigInteger actual, BigInteger other)
- Specified by:
absDiff
in classNumbers<BigInteger>
-
isGreaterThan
protected boolean isGreaterThan(BigInteger value, BigInteger other)
- Specified by:
isGreaterThan
in classNumbers<BigInteger>
-
-