|
||||||||||
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 NumberAssert<T extends Number>
Assertion methods applicable to
s.
Number
Method Summary | |
---|---|
NumberAssert<T> |
isNegative()
Verifies that the actual value is negative. |
NumberAssert<T> |
isNotZero()
Verifies that the actual value is not equal to zero. |
NumberAssert<T> |
isPositive()
Verifies that the actual value is positive. |
NumberAssert<T> |
isZero()
Verifies that the actual value is equal to zero. |
Method Detail |
---|
NumberAssert<T> isZero()
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is not equal to zero.NumberAssert<T> isNotZero()
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is equal to zero.NumberAssert<T> isPositive()
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is not positive.NumberAssert<T> isNegative()
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is not negative.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |