ps1.test
Class RatPolyTest

java.lang.Object
  extended by 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.


Constructor Summary
Constructor and Description
RatPolyTest()
           
 
Method Summary
Modifier and Type Method and Description
 void testAdd()
           
 void testAntiDifferentiate()
           
 void testBigDiv()
           
 void testDegree()
           
 void testDifferentiate()
           
 void testDiv()
           
 void testDivByPolyWithNaN()
           
 void testDivByZero()
           
 void testDivComplexI()
           
 void testDivComplexII()
           
 void testDivExampleFromPset()
           
 void testDivExamplesFromSpec()
           
 void testEval()
           
 void testGetTerm()
           
 void testImmutabilityOfOperations()
           
 void testIntegrate()
           
 void testIsNaN()
           
 void testMul()
           
 void testNoArgCtor()
           
 void testOpsWithNaN()
           
 void testSmallCoeff()
           
 void testSub()
           
 void testToStringLeadingConstants()
           
 void testToStringLeadingNeg()
           
 void testToStringMultTerms()
           
 void testToStringNaN()
           
 void testToStringRationals()
           
 void testToStringSimple()
           
 void testTwoArgCtor()
           
 void testValueOfLeadingConstants()
           
 void testValueOfLeadingNeg()
           
 void testValueOfMultTerms()
           
 void testValueOfNaN()
           
 void testValueOfRationals()
           
 void testValueOfSimple()
           
 void testZeroElim()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatPolyTest

public RatPolyTest()
Method Detail

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()