PHP Class MathPHP\Probability\Distribution\Discrete\BernoulliTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: markrogoyski/math-php

Public Methods

Method Description
dataProviderForCDF ( )
dataProviderForPMF ( )
testCDF ( integer $k, float $p, $cdf )
testPFMIsBinomialWithNEqualsOne ( )
testPMF ( integer $k, float $p, $pmf )

Method Details

dataProviderForCDF() public method

public dataProviderForCDF ( )

dataProviderForPMF() public method

public dataProviderForPMF ( )

testCDF() public method

public testCDF ( integer $k, float $p, $cdf )
$k integer
$p float

testPFMIsBinomialWithNEqualsOne() public method

testPMF() public method

public testPMF ( integer $k, float $p, $pmf )
$k integer
$p float