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

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

공개 메소드들

메소드 설명
testDistributionOne ( ) It should allow "distributions" of 1 sample.
testDistributionZero ( ) It should throw an exception if zero samples are given.
testDistributionZeroValues ( ) It should allow distributions with 0 values.
testIterator ( ) It should be iterable.
testNonRecognizedPreComputed ( ) It should throw an exception if a non-recognized pre-computed statistic is passed.
testReturnStats ( ) It should return all the stats.
testStats ( ) It should return stats.

메소드 상세

testDistributionOne() 공개 메소드

It should allow "distributions" of 1 sample.
public testDistributionOne ( )

testDistributionZero() 공개 메소드

It should throw an exception if zero samples are given.

testDistributionZeroValues() 공개 메소드

It should allow distributions with 0 values.

testIterator() 공개 메소드

It should be iterable.
public testIterator ( )

testNonRecognizedPreComputed() 공개 메소드

It should throw an exception if a non-recognized pre-computed statistic is passed.

testReturnStats() 공개 메소드

It should return all the stats.
public testReturnStats ( )

testStats() 공개 메소드

It should return stats.
public testStats ( )