First time was able to debug w/o file errors. Still lots to go

This commit is contained in:
Jeff Moser
2010-09-25 10:15:51 -04:00
parent f081a6a70a
commit c4c6128c57
21 changed files with 85 additions and 76 deletions

View File

@ -13,15 +13,14 @@ class FactorGraphTrueSkillCalculatorTest extends PHPUnit_Framework_TestCase
public function testFactorGraphTrueSkillCalculator()
{
$calculator = new FactorGraphTrueSkillCalculator();
// We only support two players
TrueSkillCalculatorTests::testAllTwoPlayerScenarios($this, $calculator);
TrueSkillCalculatorTests::testAllTwoTeamScenarios($this, $calculator);
}
}
$testSuite = new \PHPUnit_Framework_TestSuite();
$testSuite->addTest( new TwoTeamTrueSkillCalculatorTest("testFactorGraphTrueSkillCalculator"));
$testSuite->addTest( new FactorGraphTrueSkillCalculatorTest("testFactorGraphTrueSkillCalculator"));
\PHPUnit_TextUI_TestRunner::run($testSuite);
?>