lib/Catan/Event/Monopoly.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 6 | 66.6 |
line | true | false | branch |
---|---|---|---|
12 | 0 | 1 | unless $player_number and $code and $players and ref $players eq 'ARRAY' |
19 | 1 | 3 | if $losing_player->number == $player_number |
20 | 3 | 0 | if (my $amount = $losing_player->resources->{$code}) |