Method |
Description |
|
dataProviderForAddition ( ) |
|
|
dataProviderForDifferentiate ( ) |
|
|
dataProviderForEval ( ) |
|
|
dataProviderForGetCoefficients ( ) |
|
|
dataProviderForGetDegree ( ) |
|
|
dataProviderForGetVariable ( ) |
|
|
dataProviderForIntegrate ( ) |
|
|
dataProviderForMultiplication ( ) |
|
|
dataProviderForString ( ) |
|
|
dataProviderForVariable ( ) |
|
|
testAddition ( array $polynomialA, array $polynomialB, array $expected_sum ) |
|
|
testDifferentiation ( array $polynomial, array $expected ) |
|
|
testEval ( array $coefficients, $x, $expected ) |
|
|
testFundamentalTheoremOfCalculus ( ) |
|
|
testGetCoefficients ( array $coefficients, array $expected ) |
|
|
testGetDegree ( array $coefficients, integer $expected ) |
|
|
testGetVariable ( array $args, string $expected ) |
|
|
testIntegration ( array $polynomial, array $expected_integral ) |
|
|
testMultiplication ( array $polynomialA, array $polynomialB, array $expected_product ) |
|
|
testSetVariable ( ) |
|
|
testString ( array $coefficients, string $expected ) |
|
|
testVariable ( array $args, string $expected ) |
|
|