NumExpectation<Return> extension
Matchers for numbers
- on
-
- ExpectationBase<
Object?, Return, num>
- ExpectationBase<
Methods
-
greaterThan(
num value) → Return -
Returns a matcher which matches if the match argument is greater
than the given
value
. -
greaterThanOrEqualTo(
num value) → Return -
Returns a matcher which matches if the match argument is greater
than or equal to the given
value
. -
isNaN(
) → Return - A matcher that matches the numeric value NaN.
-
isNegative(
) → Return - A matcher which matches if the match argument is negative.
-
isPositive(
) → Return - A matcher which matches if the match argument is positive.
-
isZero(
) → Return - A matcher which matches if the match argument is zero.
-
lessThan(
num value) → Return -
Returns a matcher which matches if the match argument is less
than the given
value
. -
lessThanOrEqualTo(
num value) → Return -
Returns a matcher which matches if the match argument is less
than or equal to the given
value
.