public final class RatPolyTest extends Object
Constructor and Description |
---|
RatPolyTest() |
public RatPolyTest()
public void setUp()
public void testNoArgCtor()
public void testTwoArgCtorWithZeroExp()
public void testTwoArgCtorWithOneExp()
public void testTwoArgCtorWithLargeExp()
public void testIsNaN()
public void testIsNotNaN()
public void testIsNaNEmptyPolynomial()
public void testValueOfSimple()
public void testValueOfMultTerms()
public void testValueOfLeadingNeg()
public void testValueOfLeadingConstants()
public void testValueOfRationalsSingleTerms()
public void testValueOfRationalsMultipleTerms()
public void testValueOfNaN()
public void testToStringSimple()
public void testToStringMultTerms()
public void testToStringLeadingNeg()
public void testToStringLeadingConstants()
public void testToStringRationalsSingleElems()
public void testToStringRationalsMultiplElems()
public void testToStringNaN()
public void testDegreeZero()
public void testDegreeNonZero()
public void testDegreeNonZeroMultiTerm()
public void testNegateZero()
public void testNegateNaN()
public void testNegatePosToNeg()
public void testNegatNegToPos()
public void testAddSingleTerm()
public void testAddMultipleTerm()
public void testAddSameDegree()
public void testAddDifferentDegree()
public void testAddWithItSelf()
public void testAddAssociativity()
public void testAddCommutativity()
public void testAddZeroToZero()
public void testAddZeroToNonZero()
public void testAddInverse()
public void testAddNaNtoNaN()
public void testAddNaNtoNonNaN()
public void testSubtractSameDegree()
public void testSubtractDiffDegree()
public void testSubtractZeroFromZero()
public void testSubtractZeroAndNonZero()
public void testSubtractNaNtoNaN()
public void testSubtractNaNtoNonNaN()
public void testZeroElim()
public void testSmallCoeff()
public void testMultiplicationSameDegree()
public void testMultiplicationDiffDegree()
public void testMultiplicationAssociativity()
public void testMultiplicationCommutativity()
public void testMultiplicationZeroToZero()
public void testMultiplicationZeroToNonZero()
public void testMultiplicationNaNtoNaN()
public void testMultiplicationNaNtoNonNaN()
public void testMultiplicationIdentity()
public void testMulMultiplElem()
public void testDivEvaltoSingleCoeff()
public void testDivtoSingleTerm()
public void testDivtoMultipleTerms()
public void testDivComplexI()
public void testDivComplexII()
public void testDivExamplesFromSpec()
public void testDivExampleFromPset()
public void testBigDiv()
public void testDivByZero()
public void testDivisionZeroFromZero()
public void testDivisionZeroAndNonZero()
public void testDivisionNaNtoNaN()
public void testDivisionNaNtoNonNaN()
public void testDivisionByOne()
public void testImmutabilityOfOperations()
public void testEvalZero()
public void testEvalOne()
public void testEvalX()
public void testEval2X()
public void testEvalXsq()
public void testEvalXSq_minus_2X()
public void testGetTerm()
public void testDifferentiateNaN()
public void testDifferentiateZero()
public void testDifferentiateConstantNonZero()
public void testDifferentiatetoOne()
public void testDifferentiateMultiplicationRule()
public void testDifferentiatePowerRule()
public void testDifferentiateSumRule()
public void testDifferentiateSubtractionRule()
public void testDifferentiateProductRule()
public void testDifferentiatetoMultipleTerms()
public void testAntiDifferentiate()
public void testAntiDifferentiateWithQuadPoly()
public void testAntiDifferentiateFromZero()
public void testAntiDifferentiateConstantRule()
public void testAntiDifferentiateConstantMultipleRule()
public void testAntiDifferentiatePowerRule()
public void testAntiDifferentiateSumRule()
public void testAntiDifferentiateDifferenceRule()
public void testAntiDifferentiateWithNaN()
public void testIntegrateEqualBounds()
public void testIntegrateBoundsDiffBy1()
public void testIntegrateLowBoundGreaterThanHigh()
public void testIntegrateLargeBoundDiff()
public void testIntegrateZero()
public void testIntegrateOne()
public void testIntegrateNaN()