public class Integers extends Numbers<java.lang.Integer>
Integer
s.Modifier and Type | Field and Description |
---|---|
private static Integers |
INSTANCE |
comparisonStrategy, failures
Constructor and Description |
---|
Integers() |
Integers(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
absDiff(java.lang.Integer actual,
java.lang.Integer other) |
static Integers |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy . |
protected boolean |
isGreaterThan(java.lang.Integer value,
java.lang.Integer other) |
protected java.lang.Integer |
one() |
protected java.lang.Integer |
zero() |
assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator, resetFailures, setFailures
private static final Integers INSTANCE
Integers()
public Integers(ComparisonStrategy comparisonStrategy)
public static Integers instance()
StandardComparisonStrategy
.StandardComparisonStrategy
.protected java.lang.Integer absDiff(java.lang.Integer actual, java.lang.Integer other)
protected boolean isGreaterThan(java.lang.Integer value, java.lang.Integer other)
isGreaterThan
in class Numbers<java.lang.Integer>