/** * @dataProvider dataProviderForCDF */ public function testCDF($x, int $k, $cdf) { $this->assertEquals($cdf, ChiSquared::CDF($x, $k), '', 0.01); }