MathPHP\Probability\Distribution\Discrete\BernoulliTest::testCDF PHP 메소드

testCDF() 공개 메소드

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