public function testCDF(int $k, float $p, float $cdf) { $this->assertEquals($cdf, Geometric::CDF($k, $p), '', 0.001); }