27 lines
638 B
Rust
27 lines
638 B
Rust
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);
|
|
}
|