We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | public function test_getMaxDamage() { |
||
| 13 | // regular drones |
||
| 14 | $drones = new SmrCombatDrones(100); // doesn't matter how many |
||
| 15 | $this->assertSame(2, $drones->getMaxDamage()); |
||
| 16 | // port/planet drones |
||
| 17 | $drones = new SmrCombatDrones(100, true); |
||
| 18 | $this->assertSame(1, $drones->getMaxDamage()); |
||
| 19 | } |
||
| 22 |