We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TupleWindows
1 parent 43cfe24 commit 882581fCopy full SHA for 882581f
tests/quick.rs
@@ -1145,6 +1145,14 @@ quickcheck! {
1145
itertools::equal(x, y)
1146
}
1147
1148
+ fn tuple_windows_exact_size_1(a: Vec<u8>) -> bool {
1149
+ exact_size(a.iter().tuple_windows::<(_,)>())
1150
+ }
1151
+
1152
+ fn tuple_windows_exact_size_4(a: Vec<u8>) -> bool {
1153
+ exact_size(a.iter().tuple_windows::<(_, _, _, _)>())
1154
1155
1156
fn equal_tuples_1(a: Vec<u8>) -> bool {
1157
let x = a.chunks(1).map(|s| (&s[0], ));
1158
let y = a.iter().tuples::<(_,)>();
0 commit comments