Criterium: Boolean

Bolean matching criterium from the criterium crate.

The boolean matching criterium has the following variants:

equals
Takes a boolean as argument.
Matches if the boolean to match equals the given value.
is_none
Takes no argument
Matches if the boolean to match is a None value.