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