Module lib::assert_set::assert_set_ne

source ·
Expand description

Assert a set is not equal to another.

Pseudocode:
(collection1 into set) ≠ (collection2 into set)

§Example

use assertables::*;
let a = [1, 2];
let b = [3, 4];
assert_set_ne!(&a, &b);

This implementation uses std::collections::BTreeSet to count items and sort them.

§Module macros