#predicate #logic #match #boolean #combinatorial

assert_that

Helper macros for use with boolean-valued predicate functions

3 releases

0.1.2 Jun 21, 2020
0.1.1 Jun 20, 2020
0.1.0 Jun 20, 2020

#23 in #combinatorial


Used in deduposaur

MIT license

5KB

assert_that

Build Status Documentation License

Helpers for use with predicates. This crate's core macro prints more detailed output on failure than assert!, using output from predicates-tree.

Inspired in part by Google Mock matchers.

Usage

See this crate's documentation for examples.


lib.rs:

Helper utilities for working with predicates, inspired in part by Google Mock matchers.

Dependencies

~2.5–3.5MB
~58K SLoC