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 fors.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 BigIntegerabsDiff(BigInteger actual, BigInteger other)static BigIntegersinstance()Returns the singleton instance of this class based onStandardComparisonStrategy.protected booleanisGreaterThan(BigInteger value, BigInteger other)protected BigIntegerone()protected BigIntegerzero()-
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:
zeroin classNumbers<BigInteger>
-
one
protected BigInteger one()
- Specified by:
onein classNumbers<BigInteger>
-
absDiff
protected BigInteger absDiff(BigInteger actual, BigInteger other)
- Specified by:
absDiffin classNumbers<BigInteger>
-
isGreaterThan
protected boolean isGreaterThan(BigInteger value, BigInteger other)
- Specified by:
isGreaterThanin classNumbers<BigInteger>
-
-