PHP Class Eris\Generator\ChooseGeneratorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: giorgiosironi/eris

Public Methods

Method Description
testCanGenerateSingleInteger ( )
testExceptionWhenDomainBoundariesAreNotIntegers ( )
testExceptionWhenTryingToShrinkValuesOutsideOfTheDomain ( )
testPicksRandomlyAnIntegerAmongBoundaries ( )
testShrinkingStopsToZero ( )
testShrinksLinearlyTowardsTheSmallerAbsoluteValue ( )
testTheOrderOfBoundariesDoesNotMatter ( )
testUniformity ( )

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testCanGenerateSingleInteger() public method

testExceptionWhenDomainBoundariesAreNotIntegers() public method

testExceptionWhenTryingToShrinkValuesOutsideOfTheDomain() public method

testPicksRandomlyAnIntegerAmongBoundaries() public method

testShrinkingStopsToZero() public method

testShrinksLinearlyTowardsTheSmallerAbsoluteValue() public method

testTheOrderOfBoundariesDoesNotMatter() public method

testUniformity() public method

public testUniformity ( )