summaryrefslogtreecommitdiffstats
path: root/vendor/itertools/tests/macros_hygiene.rs
blob: d1111245d6914cb8781dae17c85ca92346f2719f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn iproduct_hygiene() {
    let _ = itertools::iproduct!(0..6);
    let _ = itertools::iproduct!(0..6, 0..9);
    let _ = itertools::iproduct!(0..6, 0..9, 0..12);
}

#[test]
fn izip_hygiene() {
    let _ = itertools::izip!(0..6);
    let _ = itertools::izip!(0..6, 0..9);
    let _ = itertools::izip!(0..6, 0..9, 0..12);
}