CXC-PDL-Bin1D

 view release on metacpan or  search on metacpan

t/Bin1D/bin_on_index.t  view on Meta::CPAN

            imax  => $tdata->stats->imax,
            # range=slice and range=flat are the same for this dataset.
            range => [ 'slice', 'flat' ],
        );
    };


    subtest 'out-of-bounds' => sub {

        my @oob_types = qw(
          start-end
          end
          nbins
          start-nbins
        );

        for my $oob_type ( @oob_types ) {

            subtest $oob_type => sub {

                my $oob_imin  = $imin + 2;

t/Bin1D/bin_on_index.t  view on Meta::CPAN

        );

    };

    subtest 'out-of-bounds' => sub {

        my @oob_types = qw(
          end
          nbins
          start-nbins
          start-end
        );

        for my $oob_type ( @oob_types ) {

            subtest $oob_type => sub {

                # create a regular set of stats which have the same imin and number of bins.
                my $tdata = mk_nD_dataset( %mk_pars, oob => $oob_type, );

                my $stats = $tdata->stats;



( run in 0.234 second using v1.01-cache-2.11-cpan-a5abf4f5562 )