Testing module

greater_than

procedureextensionsince 0.30.0Source

The value is greater than limit. Numbers of any width compare by value, strings byte by byte.

Example↗
assert_that(6, greater_than(5));
greater_than :: (limit: $T) -> Matcher

The value is greater than limit. Numbers of any width compare by value, strings byte by byte.

Parameters

limit: $T
the value must be above it.

Returns

Example↗
assert_that(6, greater_than(5));

See also