Vinegar
A collection of functions and macros to help testing Rust code.
Macros
expectchecks a boolean condition, similar toassert.expect_eqchecks two values for equality, similar toassert_eq.
Functions
fn check<I>(expects: I) where I: IntoIterator<Item=Result<(), String>>
Takes a collection of Result<(), String>, which happens to be the type of values
returned by the expectation macros.
So, the check function is, basically, meant to check the assertions made with
the expect macros.
Usage
Example usage:
use check;