public function testPMF(int $x, int $r, float $P, float $pmf) { $this->assertEquals($pmf, NegativeBinomial::PMF($x, $r, $P), '', 0.001); }