Skip to content

Commit a9aaeb4

Browse files
Philippe-Choletjswrenn
authored andcommitted
Test tuple_combinations specializations
1 parent 99b35f5 commit a9aaeb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/specializations.rs

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ where
7272
}
7373

7474
quickcheck! {
75+
fn tuple_combinations(v: Vec<u8>) -> () {
76+
let mut v = v;
77+
v.truncate(10);
78+
test_specializations(&v.iter().tuple_combinations::<(_, _, _)>());
79+
}
80+
7581
fn intersperse(v: Vec<u8>) -> () {
7682
test_specializations(&v.into_iter().intersperse(0));
7783
}

0 commit comments

Comments
 (0)