blib/lib/Games/LMSolve/Plank/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 30 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
278 | 3772 | 315 | 464 | $p->{'x'} == $x and $p->{'y'} == $y |
283 | 3397 | 789 | 365 | $p->{'end_x'} == $x and $p->{'end_y'} == $y |
351 | 331 | 0 | 1 | $_->{'end_x'} == $goal_x and $_->{'end_y'} == $goal_y |
332 | 0 | 0 | $_->{'x'} == $goal_x and $_->{'y'} == $goal_y | |
462 | 1562 | 324 | 6 | $p_x == $ix and $p_y == $iy |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 0 | 0 | 4 | $start_x >= $width or $end_x >= $width |
0 | 0 | 4 | $start_x >= $width or $end_x >= $width or $start_y >= $height | |
0 | 0 | 4 | $start_x >= $width or $end_x >= $width or $start_y >= $height or $end_y >= $height | |
412 | 102 | 246 | 2788 | $other_x < 0 or $other_x >= $width |
416 | 239 | 354 | 2195 | $other_y < 0 or $other_y >= $height |