|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumberAssert
Understands a template of assertion methods for numbers (primitives and objects.)
Method Summary | |
---|---|
NumberAssert |
isNegative()
Verifies that the actual number is negative. |
NumberAssert |
isPositive()
Verifies that the actual number is positive. |
NumberAssert |
isZero()
Verifies that the actual number is equal to zero. |
Method Detail |
---|
NumberAssert isZero()
AssertionError
- if the actual number is not equal to zero.NumberAssert isPositive()
AssertionError
- if the actual number is not positive.NumberAssert isNegative()
AssertionError
- if the actual number is not negative.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |