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