Numbers.
| Modifier and Type | Method and Description |
|---|---|
| public SELF | Returns: this assertion object.the given number to compare the actual value to. expected, Offset<ACTUAL> the given positive offset. offset)Redeclares org. |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertion object.the given number to compare the actual value to. expected, Offset<ACTUAL> the given positive offset. offset)Redeclares org. |
| public SELF | |
| public SELF | |
| public SELF |
| isCloseTo | back to summary |
|---|---|
| public SELF isCloseTo(ACTUAL expected, Offset<ACTUAL> offset) Redeclares org. Verifies that the actual number is close to the given one within the given offset. Example with double:
| |
| isEqualTo | back to summary |
|---|---|
| public SELF isEqualTo(ACTUAL expected, Offset<ACTUAL> offset) Verifies that the actual number is close to the given one within the given offset value.
This assertion is the same as When abs(actual - expected) == offset value, the assertion:
Examples:
| |
| isFinite | back to summary |
|---|---|
| public SELF isFinite() | |
| isInfinite | back to summary |
|---|---|
| public SELF isInfinite() | |
| isNaN | back to summary |
|---|---|
| public SELF isNaN() Verifies that the actual value is equal to Example:
| |
| isNotCloseTo | back to summary |
|---|---|
| public SELF isNotCloseTo(ACTUAL expected, Offset<ACTUAL> offset) Redeclares org. Verifies that the actual number is not close to the given one by less than the given offset. Example with double:
| |
| isNotFinite | back to summary |
|---|---|
| public SELF isNotFinite() | |
| isNotInfinite | back to summary |
|---|---|
| public SELF isNotInfinite() | |
| isNotNaN | back to summary |
|---|---|
| public SELF isNotNaN() Verifies that the actual value is not equal to Example:
| |