Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
static DoubleAssert |
Assertions.assertThat(double actual)
Creates a new instance of
. |
static DoubleAssert |
Assertions.assertThat(Double actual)
Creates a new instance of
. |
DoubleAssert |
DoubleAssert.isEqualTo(double expected)
Verifies that the actual value is equal to the given one.
|
DoubleAssert |
DoubleAssert.isEqualTo(double expected,
Offset<Double> offset)
Verifies that the actual value is equal to the given one, within a positive offset.
|
DoubleAssert |
DoubleAssert.isEqualTo(Double expected,
Offset<Double> offset)
Verifies that the actual value is equal to the given one, within a positive offset.
|
DoubleAssert |
DoubleAssert.isGreaterThan(double other)
Verifies that the actual value is greater than the given one.
|
DoubleAssert |
DoubleAssert.isGreaterThanOrEqualTo(double other)
Verifies that the actual value is greater than or equal to the given one.
|
DoubleAssert |
DoubleAssert.isLessThan(double other)
Verifies that the actual value is less than the given one.
|
DoubleAssert |
DoubleAssert.isLessThanOrEqualTo(double other)
Verifies that the actual value is less than or equal to the given one.
|
DoubleAssert |
DoubleAssert.isNaN()
Verifies that the actual value is equal to
NaN . |
DoubleAssert |
DoubleAssert.isNegative()
Verifies that the actual value is negative.
|
DoubleAssert |
DoubleAssert.isNotEqualTo(double other)
Verifies that the actual value is not equal to the given one.
|
DoubleAssert |
DoubleAssert.isNotNaN()
Verifies that the actual value is not equal to
NaN . |
DoubleAssert |
DoubleAssert.isNotNegative()
Verifies that the actual value is non negative (positive or equal zero).
|
DoubleAssert |
DoubleAssert.isNotPositive()
Verifies that the actual value is non positive (negative or equal zero).
|
DoubleAssert |
DoubleAssert.isNotZero()
Verifies that the actual value is not equal to zero.
|
DoubleAssert |
DoubleAssert.isPositive()
Verifies that the actual value is positive.
|
DoubleAssert |
DoubleAssert.isZero()
Verifies that the actual value is equal to zero.
|
DoubleAssert |
DoubleAssert.usingComparator(Comparator<? super Double> customComparator) |
DoubleAssert |
DoubleAssert.usingDefaultComparator() |
Copyright © 2013 AssertJ. All Rights Reserved.