Some tests converted to new syntax

This commit is contained in:
Alex Wulf
2022-07-05 15:46:45 +02:00
parent 844c37a724
commit bfc558d1f2
2 changed files with 16 additions and 16 deletions

View File

@ -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);
}
}