blib/lib/Math/Shape/Vector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 9 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 3 | 2 | 6 | $self->{'x'} == $v2->{'x'} && $self->{'y'} == $v2->{'y'} |
192 | 2 | 2 | 5 | $self->{'x'} == $other_obj->{'x'} && $self->{'y'} == $other_obj->{'y'} |
201 | 3 | 0 | 3 | $lp->is_equal($pr) && $pr->length <= $d->length && 0 <= $pr->dot_product($d) |