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
-
-
Field Summary
Fields Modifier and Type Field Description private static BigIntegersINSTANCE-
Fields inherited from class org.assertj.core.internal.Comparables
failures
-
-
Constructor Summary
Constructors Constructor Description BigIntegers()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
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualTo
-
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, checkBoundsValidity, equals, getComparator, hashCode, resetFailures, setFailures, toString
-
-
-
-
Field Detail
-
INSTANCE
private static final BigIntegers INSTANCE
-
-
Constructor Detail
-
BigIntegers
BigIntegers()
-
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>
-
-