Module assert_set_superset

Module assert_set_superset 

Source
Expand description

Assert a set is a superset of another.

Pseudocode:
(a_collection ⇒ a_set) ⊃ (b_collection ⇒ b_set)

§Example

use assertables::*;

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

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

§Module macros