diff options
Diffstat (limited to 'tests/debug.rs')
-rw-r--r-- | tests/debug.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/debug.rs b/tests/debug.rs index 3584ba0..1cbf4e6 100644 --- a/tests/debug.rs +++ b/tests/debug.rs @@ -123,6 +123,10 @@ fn debug_vec() { check(v.par_chunks_exact(42)); check(v.par_chunks_mut(42)); check(v.par_chunks_exact_mut(42)); + check(v.par_rchunks(42)); + check(v.par_rchunks_exact(42)); + check(v.par_rchunks_mut(42)); + check(v.par_rchunks_exact_mut(42)); check(v.par_windows(42)); check(v.par_split(|x| x % 3 == 0)); check(v.par_split_mut(|x| x % 3 == 0)); @@ -151,6 +155,8 @@ fn debug_adaptors() { check(v.par_iter().map(Some).flatten_iter()); check(v.par_iter().fold(|| 0, |x, _| x)); check(v.par_iter().fold_with(0, |x, _| x)); + check(v.par_iter().fold_chunks(3, || 0, |x, _| x)); + check(v.par_iter().fold_chunks_with(3, 0, |x, _| x)); check(v.par_iter().try_fold(|| 0, |x, _| Some(x))); check(v.par_iter().try_fold_with(0, |x, _| Some(x))); check(v.par_iter().inspect(|_| ())); |