2024-02-02 14:53:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2022-07-05 15:55:47 +02:00
|
|
|
|
|
|
|
namespace DNW\Skills\Tests\TrueSkill;
|
2010-08-29 16:40:03 -04:00
|
|
|
|
2022-07-05 15:33:34 +02:00
|
|
|
use DNW\Skills\TrueSkill\TwoTeamTrueSkillCalculator;
|
2024-02-01 10:50:18 +00:00
|
|
|
use PHPUnit\Framework\TestCase;
|
2024-02-06 13:06:05 +00:00
|
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
2024-02-06 12:05:19 +00:00
|
|
|
use PHPUnit\Framework\Attributes\CoversNothing;
|
2010-08-29 16:40:03 -04:00
|
|
|
|
2024-03-01 12:56:55 +00:00
|
|
|
#[CoversClass(TwoTeamTrueSkillCalculator::class)]
|
2016-05-24 14:06:43 +02:00
|
|
|
class TwoTeamTrueSkillCalculatorTest extends TestCase
|
2010-08-29 16:40:03 -04:00
|
|
|
{
|
2024-02-06 12:05:19 +00:00
|
|
|
#[CoversNothing]
|
2023-08-01 11:26:38 +00:00
|
|
|
public function testTwoTeamTrueSkillCalculator(): void
|
2010-08-29 16:40:03 -04:00
|
|
|
{
|
|
|
|
$calculator = new TwoTeamTrueSkillCalculator();
|
|
|
|
|
|
|
|
TrueSkillCalculatorTests::testAllTwoPlayerScenarios($this, $calculator);
|
|
|
|
TrueSkillCalculatorTests::testAllTwoTeamScenarios($this, $calculator);
|
|
|
|
}
|
2022-07-05 15:55:47 +02:00
|
|
|
}
|