for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php declare(strict_types=1);
namespace SmrTest\lib\DefaultGame;
use SmrMines;
/**
* @covers SmrMines
*/
class SmrMinesTest extends \PHPUnit\Framework\TestCase {
public function test_getMaxDamage() {
$mines = new SmrMines(100); // doesn't matter how many
$this->assertSame(20, $mines->getMaxDamage());
}