assert

Function assert 

Source
pub fn assert(name: impl AsRef<str>, outcome: bool, reason: impl AsRef<str>)
Expand description

Assert that the outcome is true, naming the assertion with name, which will be used as a label in the CLI runner. The reason argument will be used to print a message when the assertion fails, this should contain some additional information about values being compared.