|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the "actual" value.public interface FloatingPointNumberAssert<T extends Number>
Assertion methods applicable to floating-point s.
Number
| Method Summary | |
|---|---|
FloatingPointNumberAssert<T> |
isEqualTo(T expected,
Offset<T> offset)
Verifies that the actual value is equal to the given one, within a positive offset. |
FloatingPointNumberAssert<T> |
isNaN()
Verifies that the actual value is equal to NaN. |
FloatingPointNumberAssert<T> |
isNotNaN()
Verifies that the actual value is not equal to NaN. |
| Methods inherited from interface org.fest.assertions.core.NumberAssert |
|---|
isNegative, isNotNegative, isNotPositive, isNotZero, isPositive, isZero |
| Method Detail |
|---|
FloatingPointNumberAssert<T> isEqualTo(T expected,
Offset<T> offset)
expected - the given value to compare the actual value to.offset - the given positive offset.
this assertion object.
NullPointerException - if the given offset is null.
NullPointerException - if the expected number is null.
AssertionError - if the actual value is not equal to the given one.FloatingPointNumberAssert<T> isNaN()
NaN.
AssertionError - if the actual value is not equal to NaN.FloatingPointNumberAssert<T> isNotNaN()
NaN.
AssertionError - if the actual value is equal to NaN.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||