Module assert_iter_eq

Module assert_iter_eq 

Source
Expand description

Assert an iter is equal to another.

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

§Example

use assertables::*;

let a = [1, 2];
let b = [1, 2];
assert_iter_eq!(&a, &b);

This implementation uses ::std::iter::Iterator.

§Module macros