Branch Coverage

blib/lib/Test2/Tools/PDL.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
33 2 1 unless ($thing->$Test2::Tools::PDL::_isa('PDL'))
51 2 11 unless ($got->$Test2::Tools::PDL::_isa('PDL'))
56 0 11 unless ($exp->$Test2::Tools::PDL::_isa('PDL'))
64 0 11 if (ref $got ne $exp_class)
76 2 9 if ($delta_dims)
85 3 6 if ($got->badflag or $exp->badflag)
89 1 2 if ($delta_isbad)
111 8 0 if ($is_numeric and $exp->type >= PDL::float() || $got->type >= PDL::float()) { }
120 2 6 if ($exp->badflag)
124 0 8 if ($@)
132 2 6 unless ($diff_which->isempty)
135 0 10 if ($p->isa('PDL::DateTime')) { }