lib/Settlers/Event/YearOfPlenty.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 6 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
12 | 0 | 0 | 1 | $trade and $trade->isa('Settlers::Game::Trade') |
16 | 0 | 0 | 1 | 2 == @{$trade->players;} and -2 == &sum(map({$_->amount;} @{$trade->resources('bank');})) |