Module canrun::goals::cmp

source ·
Expand description

Comparison goals including lt, lte, gt, gte, min and max.

Functions

Ensure that one value is greater than another.
Ensure that one value is greater than or equal to another.
Ensure that one value is less than another.
Ensure that one value is less than or equal to another.
Get the greater of two values according to std::cmp::max.
Get the lesser of two values according to std::cmp::min.