PHP Class PhpBench\Tests\Unit\Math\DistributionTest

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

Méthodes publiques

Méthode Description
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.

Method Details

testDistributionOne() public méthode

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

testDistributionZero() public méthode

It should throw an exception if zero samples are given.

testDistributionZeroValues() public méthode

It should allow distributions with 0 values.

testIterator() public méthode

It should be iterable.
public testIterator ( )

testNonRecognizedPreComputed() public méthode

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

testReturnStats() public méthode

It should return all the stats.
public testReturnStats ( )

testStats() public méthode

It should return stats.
public testStats ( )