| Access | Constructor and Description |
|---|---|
| private <T extends Number> |
| Modifier and Type | Method and Description |
|---|---|
| public static < guarantees that the values used in this factory have the same type. T extends Number> ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, T the expected value in the failed assertion. expected, Offset<T> the given positive offset. offset, T the effective difference between actual and expected. difference)Creates a new |
| private static <T extends Number> String |
| ShouldBeEqualWithinOffset | back to summary |
|---|---|
| private <T extends Number> ShouldBeEqualWithinOffset(Number actual, Number expected, Offset<T> offset, Number difference) | |
| shouldBeEqual | back to summary |
|---|---|
| public static <T extends Number> ErrorMessageFactory shouldBeEqual(T actual, T expected, Offset<T> offset, T difference) Creates a new
| |
| validOrNot | back to summary |
|---|---|
| private static <T extends Number> String validOrNot(Offset<T> offset) | |