Crates.io | assert_ne |
lib.rs | assert_ne |
version | 0.3.0 |
source | src |
created_at | 2016-06-16 17:52:04.320568 |
updated_at | 2016-06-21 15:48:15.455051 |
description | assert not equals |
homepage | |
repository | https://github.com/ashleygwilliams/assert_ne.git |
max_upload_size | |
id | 5394 |
size | 2,322 |
assert not equals
this is a rust crate that affords you a macro, assert_ne!
.
assert_ne!(3, 3);
// panicked at 'assertion failed:
// `(left !== right)` (left: `3`, right: `3`)
assert_ne!(3, 4);
// :)
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.
cd assert_ne
cargo build
cargo test