PHP Class PhpBench\Tests\Tests\Unit\Unit\Math\KdeTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dantleech/phpbench

Méthodes publiques

Méthode Description
provideEvaluate ( )
testEvaluate ( $dataSet, $space, $bwMethod, $expected ) It should evaluate a kernel distribution estimate over a given space.
testInvalidBandwidth ( ) It should throw an exception if an invalid bandwidth method is given.
testNoElements ( ) It should throw an exception if the data set has zero elements.
testOneElement ( ) It should throw an exception if the data set has only a single element.

Method Details

provideEvaluate() public méthode

public provideEvaluate ( )

testEvaluate() public méthode

It should evaluate a kernel distribution estimate over a given space.
public testEvaluate ( $dataSet, $space, $bwMethod, $expected )

testInvalidBandwidth() public méthode

It should throw an exception if an invalid bandwidth method is given.

testNoElements() public méthode

It should throw an exception if the data set has zero elements.
public testNoElements ( )

testOneElement() public méthode

It should throw an exception if the data set has only a single element.
public testOneElement ( )