public class Bytes extends Numbers<java.lang.Byte>
Bytes.| 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, isCloseToPercentageCommonChecksareEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator, resetFailures, setFailuresprivate 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)
NumbersassertIsCloseTo 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.