PHP Class PhpBench\Tests\Unit\Math\DistributionTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: dantleech/phpbench

Public Methods

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

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

testDistributionZero() public method

It should throw an exception if zero samples are given.

testDistributionZeroValues() public method

It should allow distributions with 0 values.

testIterator() public method

It should be iterable.
public testIterator ( )

testNonRecognizedPreComputed() public method

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

testReturnStats() public method

It should return all the stats.
public testReturnStats ( )

testStats() public method

It should return stats.
public testStats ( )