java.util.OptionalDouble .
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Doubles |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public SELF | Returns: this assertion object.the expected value inside the expectedValue)java..Verifies that the actual |
| public SELF | Returns: this assertion object.the expected value inside the expectedValue, Offset<Double> java..the given positive offset. offset)Verifies that the actual |
| public SELF | Returns: the assertion objectthe expected value inside the expectedValue, Percentage java.the given positive percentage percentage)Verifies that the actual |
| public SELF | |
| public SELF | Returns: this assertion object.Verifies that there is a value present in the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that there is a value present in the actual |
| doubles | back to summary |
|---|---|
| pack-priv Doubles doubles
| |
| AbstractOptionalDoubleAssert | back to summary |
|---|---|
| protected AbstractOptionalDoubleAssert(OptionalDouble actual, Class<?> selfType) | |
| hasValue | back to summary |
|---|---|
| public SELF hasValue(double expectedValue) Verifies that the actual
| |
| hasValueCloseTo | back to summary |
|---|---|
| public SELF hasValueCloseTo(Double expectedValue, Offset<Double> offset) Verifies that the actual Assertion will pass :
Assertion will fail :
| |
| hasValueCloseTo | back to summary |
|---|---|
| public SELF hasValueCloseTo(Double expectedValue, Percentage percentage) Verifies that the actual
| |
| isEmpty | back to summary |
|---|---|
| public SELF isEmpty() Verifies that the actual Assertion will pass :
Assertion will fail :
| |
| isNotEmpty | back to summary |
|---|---|
| public SELF isNotEmpty() Verifies that there is a value present in the actual Assertion will pass :
Assertion will fail :
| |
| isNotPresent | back to summary |
|---|---|
| public SELF isNotPresent() Verifies that the actual Assertion will pass :
Assertion will fail :
| |
| isPresent | back to summary |
|---|---|
| public SELF isPresent() Verifies that there is a value present in the actual Assertion will pass :
Assertion will fail :
| |