Branch Coverage

blib/lib/Games/Solitaire/Verify/HorneAutomovePrune.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
13 1 15 if ($running_state->get_foundation_value($card->suit, $deck) == $card->rank - 1)
19 2 2 $card->color_for_suit($card->get_suits_seq->[$other_deck_idx % 4]) eq $card->color ? :
0 4 if ($running_state->get_foundation_value($card->get_suits_seq->[$other_deck_idx % 4], $other_deck_idx >> 2) < $card->rank - 2 - ($card->color_for_suit($card->get_suits_seq->[$other_deck_idx % 4]) eq $card->color ? 1 : 0))
67 16 8 if (defined $card)
71 1 15 if (defined $f)
102 16 0 $col->len ? :
121 1 1 if $num_moved == 0