| 1 |
mod alloc {} |
| 2 |
mod core {} |
| 3 |
mod either {} |
| 4 |
mod std {} |
| 5 |
|
| 6 |
#[test] |
| 7 |
fn iproduct_hygiene() { |
| 8 |
let _ = itertools::iproduct!(); |
| 9 |
let _ = itertools::iproduct!(0..6); |
| 10 |
let _ = itertools::iproduct!(0..6, 0..9); |
| 11 |
let _ = itertools::iproduct!(0..6, 0..9, 0..12); |
| 12 |
} |
| 13 |
|
| 14 |
#[test] |
| 15 |
fn izip_hygiene() { |
| 16 |
let _ = itertools::izip!(0..6); |
| 17 |
let _ = itertools::izip!(0..6, 0..9); |
| 18 |
let _ = itertools::izip!(0..6, 0..9, 0..12); |
| 19 |
} |
| 20 |
|
| 21 |
#[test] |
| 22 |
fn chain_hygiene() { |
| 23 |
let _: ::std::iter::Empty<i32> = itertools::chain!(); |
| 24 |
let _ = itertools::chain!(0..6); |
| 25 |
let _ = itertools::chain!(0..6, 0..9); |
| 26 |
let _ = itertools::chain!(0..6, 0..9, 0..12); |
| 27 |
} |