mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-19 08:18:38 +00:00
Some tests converted to new syntax
This commit is contained in:
@ -19,6 +19,6 @@ class DrawMarginTest extends TestCase
|
||||
private function assertDrawMargin($drawProbability, $beta, $expected)
|
||||
{
|
||||
$actual = DrawMargin::getDrawMarginFromDrawProbability($drawProbability, $beta);
|
||||
$this->assertEquals($expected, $actual, '', DrawMarginTest::ERROR_TOLERANCE);
|
||||
$this->assertEqualsWithDelta($expected, $actual, DrawMarginTest::ERROR_TOLERANCE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user