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 10 unless ($got->$Test2::Tools::PDL::_isa('PDL'))
56 0 10 unless ($exp->$Test2::Tools::PDL::_isa('PDL'))
64 0 10 if (ref $got ne $exp_class)
76 2 8 if ($delta_dims)
85 3 5 if ($got->badflag or $exp->badflag)
89 1 2 if ($delta_isbad)
111 7 0 if ($is_numeric and $exp->type >= PDL::float() || $got->type >= PDL::float()) { }
119 2 5 if ($exp->badflag)
123 0 7 if ($@)
131 2 5 unless ($diff_which->isempty)
134 0 10 if ($p->isa('PDL::DateTime')) { }