PHP Class PhpBench\Tests\Unit\Model\Result\TimeResultTest

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

Public Methods

Method Description
testGetRevTime ( ) It should return the rev time.
testGetters ( )
testLessThanZero ( ) It should throw an exception if the time is less than 0.
testRevsAreZero ( ) It should throw an exception if the revolutions is zero0 or less than zero.
testTimeZero ( ) It should allow time "0" (because windows mostly).

Method Details

testGetRevTime() public method

It should return the rev time.
public testGetRevTime ( )

testGetters() public method

public testGetters ( )

testLessThanZero() public method

It should throw an exception if the time is less than 0.
public testLessThanZero ( )

testRevsAreZero() public method

It should throw an exception if the revolutions is zero0 or less than zero.
public testRevsAreZero ( )

testTimeZero() public method

It should allow time "0" (because windows mostly).
public testTimeZero ( )