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 Smr\ShipClass;
/**
* @covers Smr\ShipClass
*/
class ShipClassTest extends \PHPUnit\Framework\TestCase {
public function test_getName() {
$this->assertSame('Trader', ShipClass::getName(2));
}
public function test_getAllNames() {
$this->assertSame('Trader', ShipClass::getAllNames()[2]);