mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-15 17:37:39 +00:00
24 lines
669 B
PHP
24 lines
669 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DNW\Skills\Tests\TrueSkill;
|
|
|
|
use DNW\Skills\TrueSkill\TwoTeamTrueSkillCalculator;
|
|
use PHPUnit\Framework\TestCase;
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
|
use PHPUnit\Framework\Attributes\CoversNothing;
|
|
|
|
#[CoversClass(TwoTeamTrueSkillCalculator::class)]
|
|
class TwoTeamTrueSkillCalculatorTest extends TestCase
|
|
{
|
|
#[CoversNothing]
|
|
public function testTwoTeamTrueSkillCalculator(): void
|
|
{
|
|
$calculator = new TwoTeamTrueSkillCalculator();
|
|
|
|
TrueSkillCalculatorTests::testAllTwoPlayerScenarios($this, $calculator);
|
|
TrueSkillCalculatorTests::testAllTwoTeamScenarios($this, $calculator);
|
|
}
|
|
}
|