Package | Description |
---|---|
org.assertj.core.error |
Modifier and Type | Method and Description |
---|---|
static OptionalDoubleShouldHaveValueCloseToPercentage |
OptionalDoubleShouldHaveValueCloseToPercentage.shouldHaveValueCloseToPercentage(double expectedValue)
Indicates that the provided
OptionalDouble is empty so it doesn't have the expected value. |
static OptionalDoubleShouldHaveValueCloseToPercentage |
OptionalDoubleShouldHaveValueCloseToPercentage.shouldHaveValueCloseToPercentage(OptionalDouble optional,
double expectedValue,
Percentage percentage,
double difference)
Indicates that the provided
OptionalDouble has a value, but it is not within the given positive
percentage. |
Copyright © 2014–2019 AssertJ. All rights reserved.