### ----------------------------------------------------
### -- ParaSeq
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/34-minmax.rakutest
### ----------------------------------------------------
use Test;
use ParaSeq;

plan 2;

my constant $elems  = 200000;
my constant @list   = (^$elems).reverse.List;
my constant $minmax = @list.minmax;
my constant $batch  = 16;

for 1, ParaSeq.default-degree {
    is-deeply @list.&hyperize($batch, $_).minmax, $minmax,
      ".minmax with degree = $_";
}

# vim: expandtab shiftwidth=4


