Condition Coverage
blib/lib/Game/Cribbage/Deck.pm
Criterion
Covered
Total
%
condition
6
6
100.0
and 3 conditions
line
!l
l&&!r
l&&r
condition
57
45
8
2
$_->suit eq $card->{'suit'} and $_->symbol =~ /^$card->{'symbol'}$/
84
79
23
2
$_->suit eq $suit and $_->symbol =~ /^$sym$/