assert2 0.4.0

assert!(...) and check!(...) macros inspired by Catch2, now with diffs!
Documentation
1
2
3
4
5
6
7
8
9
pub fn main() {
	assert2::assert!(
		let Some(x) = Some(3 + 2)
		&& x == 7
		&& let None = Some(5).filter(|&x| x == 6)
		&& true
	);
	println!("x = {x}")
}