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