| Constructor and Description |
|---|
Integers(ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertIsCloseTo(AssertionInfo info,
Integer actual,
Integer expected,
Offset<Integer> offset)
Asserts that the actual value is close to the offset.
|
static Integers |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy. |
protected Integer |
zero() |
absDiff, assertIsBetween, assertIsCloseToPercentage, assertIsNegative, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isCloseToPercentageCommonChecksareEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparatorpublic Integers(ComparisonStrategy comparisonStrategy)
public static Integers instance()
StandardComparisonStrategy.StandardComparisonStrategy.public void assertIsCloseTo(AssertionInfo info, Integer actual, Integer expected, Offset<Integer> offset)
NumbersassertIsCloseTo in class Numbers<Integer>info - contains information about the assertion.actual - the actual value.expected - the expected value.offset - the given positive offset.Copyright © 2013-2015 AssertJ. All Rights Reserved.