public class Bytes extends Numbers<java.lang.Byte>
Byte
s.Modifier and Type | Field and Description |
---|---|
private static Bytes |
INSTANCE |
comparisonStrategy, failures
Constructor and Description |
---|
Bytes() |
Bytes(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
assertIsCloseTo(AssertionInfo info,
java.lang.Byte actual,
java.lang.Byte expected,
Offset<java.lang.Byte> offset)
Asserts that the actual value is close to the offset.
|
static Bytes |
instance()
Returns the singleton instance of this class.
|
protected java.lang.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, resetFailures, setFailures
private static final Bytes INSTANCE
Bytes()
public Bytes(ComparisonStrategy comparisonStrategy)
public static Bytes instance()
public void assertIsCloseTo(AssertionInfo info, java.lang.Byte actual, java.lang.Byte expected, Offset<java.lang.Byte> offset)
Numbers
assertIsCloseTo
in class Numbers<java.lang.Byte>
info
- contains information about the assertion.actual
- the actual value.expected
- the expected value.offset
- the given positive offset.