Crate claim

Source
Expand description

Assertion macros.

This crate provides additional assert macros to make testing a bit easier.

§#![no_std] support

claim can be used in a no-std environments too.

§Available macros

Note that same to core/std macros, all macros in this crate has the debug_* counterparts.

§Comparison

Assertions similar to assert_eq or assert_ne:

§Matching

§Result macros

Assertions for Result variants:

§Option macros

Assertions for Option variants:

§Poll macros

Assertions for Poll variants:

Macros§