public function testPMF(int $n, int $r, float $p, float $pmf) { $this->assertEquals($pmf, Binomial::PMF($n, $r, $p), '', 0.001); }