/** * @dataProvider dataProviderForErrorFunction */ public function testErf($x, $error) { $this->assertEquals($error, Special::erf($x), '', 0.0001); }
/** * @dataProvider dataProviderForErrorFunction */ public function testErf($x, $error) { $this->assertEquals($error, Special::erf($x), '', 0.0001); }