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

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method 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 method

public provideEvaluate ( )

testEvaluate() public method

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

testInvalidBandwidth() public method

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

testNoElements() public method

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

testOneElement() public method

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