assert_ne
assert not equals
this is a rust crate that affords you a macro, assert_ne!
.
usage
assert_ne!(3, 3);
// panicked at 'assertion failed:
// `(left !== right)` (left: `3`, right: `3`)
assert_ne!(3, 4);
// :)
prerequisites
this a rust crate. to use and work on this project, you'll need to have rust installed. to install rust, i recommend using rustup.
up and running
- fork and clone this repository
cd assert_ne
cargo build
testing
cargo test