Criterium: Number

Number matching criterium from the criterium crate.

Number matching works th same on integers, floats, signed and unsigned numbers.

The number matching criterium has the following variants:

equals
Takes a number as argument.
Matches if the number to match equals the given number.
less_than
Takes a number as argument.
Matches if the number to match is less than the given number.
less_than_or_equal
Takes a number as argument.
Matches if the number to match is less than or equal to the given number.
greater_than
Takes a number as argument.
Matches if the number to match is greater than the given number.
greater_than_or_equal
Takes a number as argument.
Matches if the number to match is greater than or equal to the given number.i
in_list
Takes a list of numbers as argument.
Matches if the number to match is equal to one of the given numbers.
is_none
Takes no argument
Matches if the number to match is a None value