MathPHP\Probability\Distribution\Discrete\ShiftedGeometricTest::testPMF PHP Method

testPMF() public method

public testPMF ( integer $k, float $p, float $pmf )
$k integer
$p float
$pmf float
    public function testPMF(int $k, float $p, float $pmf)
    {
        $this->assertEquals($pmf, ShiftedGeometric::PMF($k, $p), '', 0.001);
    }