Branch Coverage

lib/Catan/Event/YearOfPlenty.pm
Criterion Covered Total %
branch 2 4 50.0


line true false branch
12 0 1 unless $trade and $trade->isa('Catan::Game::Trade')
16 0 1 unless 2 == @{$trade->players;} and -2 == &sum(map({$_->amount;} @{$trade->resources('bank');}))