2022-07-05 15:55:47 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace DNW\Skills\Tests\TrueSkill;
|
2010-08-29 16:40:03 -04:00
|
|
|
|
2022-07-05 15:33:34 +02:00
|
|
|
use DNW\Skills\Tests\TestCase;
|
|
|
|
use DNW\Skills\TrueSkill\TwoTeamTrueSkillCalculator;
|
2010-08-29 16:40:03 -04:00
|
|
|
|
2016-05-24 14:06:43 +02:00
|
|
|
class TwoTeamTrueSkillCalculatorTest extends TestCase
|
2010-08-29 16:40:03 -04:00
|
|
|
{
|
|
|
|
public function testTwoTeamTrueSkillCalculator()
|
|
|
|
{
|
|
|
|
$calculator = new TwoTeamTrueSkillCalculator();
|
|
|
|
|
|
|
|
// We only support two players
|
|
|
|
TrueSkillCalculatorTests::testAllTwoPlayerScenarios($this, $calculator);
|
|
|
|
TrueSkillCalculatorTests::testAllTwoTeamScenarios($this, $calculator);
|
|
|
|
}
|
2022-07-05 15:55:47 +02:00
|
|
|
}
|