2016-05-24 13:59:35 +02:00
|
|
|
<?php namespace Moserware\Skills\Tests\TrueSkill;
|
2010-08-29 16:40:03 -04:00
|
|
|
|
2016-05-24 14:06:43 +02:00
|
|
|
use Moserware\Skills\Tests\TestCase;
|
2010-08-29 16:40:03 -04:00
|
|
|
use Moserware\Skills\TrueSkill\TwoTeamTrueSkillCalculator;
|
|
|
|
|
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);
|
|
|
|
}
|
2016-05-24 13:59:35 +02:00
|
|
|
}
|