cvlr-asserts 0.6.1

Asserts and assumes for post- and pre-conditions
Documentation
1
2
3
4
5
6
7
8
use cvlr_asserts::cvlr_assert;

fn main() {
    cvlr_assert!(true);
    cvlr_assert!(1 == 1);
    cvlr_assert!(false, "this should fail");
    cvlr_assert!(x > 0, "x must be positive");
}