assertables::assert_iter

Module assert_iter_ge

source
Expand description

Assert an iter is greater than or equal to another.

Pseudocode:
(collection1 into iter) ≥ (collection2 into iter)

§Example

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

This implementation uses std::iter::Iterator.

§Module macros