mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-20 00:37:48 +00:00
It gets a result... unfortunately it's wrong. But hey, that's progress :) Lots of debugging code left in to make up for a less than ideal debugger
This commit is contained in:
@ -11,7 +11,7 @@ use Moserware\Skills\TrueSkill\FactorGraphTrueSkillCalculator;
|
||||
class FactorGraphTrueSkillCalculatorTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testFactorGraphTrueSkillCalculator()
|
||||
{
|
||||
{
|
||||
$calculator = new FactorGraphTrueSkillCalculator();
|
||||
|
||||
TrueSkillCalculatorTests::testAllTwoPlayerScenarios($this, $calculator);
|
||||
|
@ -67,6 +67,8 @@ class TrueSkillCalculatorTests
|
||||
{
|
||||
$player1 = new Player(1);
|
||||
$player2 = new Player(2);
|
||||
$p1Key = \spl_object_hash($player1);
|
||||
$p2Key = \spl_object_hash($player2);
|
||||
$gameInfo = new GameInfo();
|
||||
|
||||
$team1 = new Team($player1, $gameInfo->getDefaultRating());
|
||||
|
Reference in New Issue
Block a user