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.
1 parent 1bb419b commit 9ec6033Copy full SHA for 9ec6033
tests/specializations.rs
@@ -273,6 +273,16 @@ quickcheck! {
273
test_specializations(&v.into_iter().intersperse_with(|| 0));
274
}
275
276
+ fn array_combinations(v: Vec<u8>) -> TestResult {
277
+ if v.len() > 10 {
278
+ return TestResult::discard();
279
+ }
280
+ test_specializations(&v.iter().array_combinations::<1>());
281
+ test_specializations(&v.iter().array_combinations::<2>());
282
+ test_specializations(&v.iter().array_combinations::<3>());
283
+ TestResult::passed()
284
285
+
286
fn combinations(a: Vec<u8>, n: u8) -> TestResult {
287
if n > 3 || a.len() > 8 {
288
return TestResult::discard();
0 commit comments