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