Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testGetCombatEffects(): void { |
||
16 | $pet = new Pet([ |
||
17 | "id" => 1, "deployed" => false, "bonusStat" => Character::STAT_STRENGTH, "bonusValue" => 10, |
||
18 | ]); |
||
19 | Assert::count(0, $pet->getCombatEffects()); |
||
20 | $pet->deployed = true; |
||
21 | Assert::count(1, $pet->getCombatEffects()); |
||
22 | } |
||
27 | ?> |