|
||||||||||
| 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> |
isNotNegative()
Verifies that the actual value is non negative (positive or equal zero). |
NumberAssert<T> |
isNotPositive()
Verifies that the actual value is non positive (negative or equal zero). |
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.NumberAssert<T> isNotNegative()
this assertion object.
AssertionError - if the actual value is null.
AssertionError - if the actual value is not non negative.NumberAssert<T> isNotPositive()
this assertion object.
AssertionError - if the actual value is null.
AssertionError - if the actual value is not non positive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||