Skip to content

Commit

Permalink
Test tuple_combinations specializations
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe-Cholet authored and jswrenn committed Sep 28, 2023
1 parent 99b35f5 commit a9aaeb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/specializations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ where
}

quickcheck! {
fn tuple_combinations(v: Vec<u8>) -> () {
let mut v = v;
v.truncate(10);
test_specializations(&v.iter().tuple_combinations::<(_, _, _)>());
}

fn intersperse(v: Vec<u8>) -> () {
test_specializations(&v.into_iter().intersperse(0));
}
Expand Down

0 comments on commit a9aaeb4

Please sign in to comment.