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