Branch Coverage

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


line true false branch
33 2 2 unless ($thing->$Test2::Tools::PDL::_isa('PDL'))
51 2 12 unless ($got->$Test2::Tools::PDL::_isa('PDL'))
56 0 12 unless ($exp->$Test2::Tools::PDL::_isa('PDL'))
64 0 12 if (ref $got ne $exp_class)
76 2 10 if ($delta_dims)
85 3 7 if ($got->badflag or $exp->badflag)
89 1 2 if ($delta_isbad)
106 9 0 if ($is_numeric and $exp->type >= PDL::float() || $got->type >= PDL::float()) { }
115 2 7 if ($exp->badflag)
119 0 9 if ($@)
127 2 7 unless ($diff_which->isempty)
130 0 6 if ($p->isa('PDL::DateTime')) { }