Skip to content

Commit

Permalink
Add tests for macros hygiene
Browse files Browse the repository at this point in the history
  • Loading branch information
SkiFire13 committed Dec 18, 2020
1 parent 807a1ce commit 79e39cb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/macros_hygiene.rs
@@ -0,0 +1,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);
}

0 comments on commit 79e39cb

Please sign in to comment.