sixarm_assert

Crates.iosixarm_assert
lib.rssixarm_assert
version1.1.1
sourcesrc
created_at2021-03-29 21:45:44.453067
updated_at2021-03-29 21:56:16.035595
descriptionAssert macros for Rust tests. By SixArm.com.
homepage
repositoryhttps://github.com/sixarm/sixarm-assert-rust-crate/
max_upload_size
id375361
size11,582
Joel Parker Henderson (joelparkerhenderson)

documentation

README

SixArm.com assert macros for Rust tests

We use these assertions in our client projects.

assert_set_eq!

Example:

let a = vec![1, 2, 3];
let b = vec![3, 2, 1];
assert_set_eq!(a, b);

assert_set_ne!

Example:

let a = vec![1, 2, 3];
let b = vec![4, 5, 6];
assert_set_ne!(a, b;
Commit count: 7

cargo fmt