Check Numeric Values
assert_count(x)assert_numeric(x, expected, ...)
assert_trend(x, expected, ...)
assert_relation(x, y, expected, ...)
Throws an error, if any, and returns x
invisibly otherwise.
N. Frerebeau
Possible values for expected
:
assert_numeric()
"positive
", "whole
", "odd
" or "even
"
assert_trend()
"constant
", "decreasing
" or "increasing
"
assert_relation()
"lower
" or "greater
"
Other validation methods:
check-attribute
,
check-data
,
check-graph
,
check-matrix
,
check-type
,
validate()