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