Crate claym

source ·
Expand description

Assertion macros.

This crate provides additional assert macros to make testing easier. claym does not have depndencies and it can be used in a no-std environment.

All the macros in this crate has debug_* counterparts, like any assertion macros in the standard libraries.

Assertions similar to assert_eq! or assert_ne!:

Assertions for Result variants:

Assertions for Option variants:

Assertions for Poll variants:

Assertions for Iterator variants:

Macros§