assertables 9.9.0

Assertables: assert macros for better testing, debugging, quality assurance, and runtime reliability.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Assert matches for verifying an item matches a case.
//!
//! * [`assert_matches!(a, b)`](macro@crate::assert_matches) ≈ match(a) { b }
//!
//! * [`assert_not_matches!(a, b)`](macro@crate::assert_matches) ≈ match(a) { b }
//!
//! # Example
//!
//! ```rust
//! use assertables::*;
//!
//! let a = 'a';
//! assert_matches!(a, 'a'..='z');
//! ```

pub mod assert_matches;
pub mod assert_not_matches;