ps1.test
Class RatPolyTest
java.lang.Object
ps1.test.RatPolyTest
public final class RatPolyTest
extends Object
This class contains a set of test cases that can be used to test the
implementation of the RatPoly class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatPolyTest
public RatPolyTest()
testNoArgCtor
public void testNoArgCtor()
testTwoArgCtor
public void testTwoArgCtor()
testIsNaN
public void testIsNaN()
testValueOfSimple
public void testValueOfSimple()
testValueOfMultTerms
public void testValueOfMultTerms()
testValueOfLeadingNeg
public void testValueOfLeadingNeg()
testValueOfLeadingConstants
public void testValueOfLeadingConstants()
testValueOfRationals
public void testValueOfRationals()
testValueOfNaN
public void testValueOfNaN()
testToStringSimple
public void testToStringSimple()
testToStringMultTerms
public void testToStringMultTerms()
testToStringLeadingNeg
public void testToStringLeadingNeg()
testToStringLeadingConstants
public void testToStringLeadingConstants()
testToStringRationals
public void testToStringRationals()
testToStringNaN
public void testToStringNaN()
testDegree
public void testDegree()
testAdd
public void testAdd()
testSub
public void testSub()
testZeroElim
public void testZeroElim()
testSmallCoeff
public void testSmallCoeff()
testMul
public void testMul()
testOpsWithNaN
public void testOpsWithNaN()
testImmutabilityOfOperations
public void testImmutabilityOfOperations()
testEval
public void testEval()
testGetTerm
public void testGetTerm()
testDiv
public void testDiv()
testDivComplexI
public void testDivComplexI()
testDivComplexII
public void testDivComplexII()
testDivExamplesFromSpec
public void testDivExamplesFromSpec()
testDivExampleFromPset
public void testDivExampleFromPset()
testBigDiv
public void testBigDiv()
testDivByZero
public void testDivByZero()
testDivByPolyWithNaN
public void testDivByPolyWithNaN()
testDifferentiate
public void testDifferentiate()
testAntiDifferentiate
public void testAntiDifferentiate()
testIntegrate
public void testIntegrate()