mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-20 08:47:49 +00:00
Removed some debugging code
This commit is contained in:
@ -81,9 +81,7 @@ class TrueSkillCalculatorTests
|
||||
private static function twoPlayerTestNotDrawn($testClass, SkillCalculator $calculator)
|
||||
{
|
||||
$player1 = new Player(1);
|
||||
$player2 = new Player(2);
|
||||
$p1Key = \spl_object_hash($player1);
|
||||
$p2Key = \spl_object_hash($player2);
|
||||
$player2 = new Player(2);
|
||||
$gameInfo = new GameInfo();
|
||||
|
||||
$team1 = new Team($player1, $gameInfo->getDefaultRating());
|
||||
@ -200,6 +198,10 @@ class TrueSkillCalculatorTests
|
||||
self::assertMatchQuality($testClass, 0.135, $calculator->calculateMatchQuality($gameInfo, $teams));
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Two Team Tests
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
private static function twoOnTwoSimpleTest($testClass, SkillCalculator $calculator)
|
||||
{
|
||||
$player1 = new Player(1);
|
||||
@ -586,6 +588,7 @@ class TrueSkillCalculatorTests
|
||||
self::assertMatchQuality($testClass, 0.447, $calculator->calculateMatchQuality($gameInfo, $teams));
|
||||
}
|
||||
|
||||
|
||||
private static function threeTeamsOfOneNotDrawn($testClass, SkillCalculator $calculator)
|
||||
{
|
||||
$player1 = new Player(1);
|
||||
|
Reference in New Issue
Block a user