PHP Class MathPHP\Functions\PiecewiseTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: markrogoyski/math-php

Public Methods

Method Description
dataProviderForEval ( )
testDuplicatedIntervalException ( )
testEval ( array $intervals, array $functions, $input, $expected )
testEvaluatedAtOpenPointException ( )
testEvaluationNotInDomainException ( )
testInputFunctionsAreNotCallableException ( )
testNumberOfIntervalsAndFunctionsUnequalException ( )
testSubintervalContainsMoreThanTwoPoints ( )
testSubintervalContainsOnePoints ( )
testSubintervalContainsOpenPoint ( )
testSubintervalDecreasingException ( )
testSubintervalsOverlapException ( )
testSubintervalsShareClosedPointException ( )

Method Details

dataProviderForEval() public method

public dataProviderForEval ( )

testDuplicatedIntervalException() public method

testEval() public method

public testEval ( array $intervals, array $functions, $input, $expected )
$intervals array
$functions array

testEvaluatedAtOpenPointException() public method

testEvaluationNotInDomainException() public method

testInputFunctionsAreNotCallableException() public method

testNumberOfIntervalsAndFunctionsUnequalException() public method

testSubintervalContainsMoreThanTwoPoints() public method

testSubintervalContainsOnePoints() public method

testSubintervalContainsOpenPoint() public method

testSubintervalDecreasingException() public method

testSubintervalsOverlapException() public method

testSubintervalsShareClosedPointException() public method