T
- the type of the "actual" value.public interface NumberAssert<T extends java.lang.Number>
Number
s.Modifier and Type | Method and Description |
---|---|
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.
|
NumberAssert<T> isZero()
java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is not equal to zero.NumberAssert<T> isNotZero()
java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is equal to zero.NumberAssert<T> isPositive()
java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is not positive.NumberAssert<T> isNegative()
java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is not negative.NumberAssert<T> isNotNegative()
this
assertion object.java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is not non negative.NumberAssert<T> isNotPositive()
this
assertion object.java.lang.AssertionError
- if the actual value is null
.java.lang.AssertionError
- if the actual value is not non positive.Copyright © 2007–2018. All rights reserved.