2 stable releases
1.1.1 | Mar 29, 2021 |
---|
#96 in #compare
21 downloads per month
Used in sixarm_collections
7KB
86 lines
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;