PHP Класс PhpBench\Tests\Unit\Math\DistributionTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )