PHP 클래스 PhpBench\Tests\Tests\Unit\Unit\Math\KdeTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
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.

메소드 상세

provideEvaluate() 공개 메소드

public provideEvaluate ( )

testEvaluate() 공개 메소드

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

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.
public testNoElements ( )

testOneElement() 공개 메소드

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