ps1.test
Class RatTermTest

java.lang.Object
  extended by ps1.test.RatTermTest

public final class RatTermTest
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
RatTermTest()
           
 
Method Summary
Modifier and Type Method and Description
 void testAdd()
           
 void testAntiDifferentiate()
           
 void testCtor()
           
 void testCtorNaN()
           
 void testCtorZeroCoeff()
           
 void testDifferentExptArgs()
           
 void testDifferentiate()
           
 void testDiv()
           
 void testEquals()
           
 void testEqualsNaNCoeff()
           
 void testEqualsZeroCoeff()
           
 void testEval()
           
 void testGetCoeff()
           
 void testGetExpt()
           
 void testIsNaN()
           
 void testIsZero()
           
 void testMul()
           
 void testOperationsOnNaN()
           
 void testOperationsOnZero()
           
 void testSub()
           
 void testToStringConst()
           
 void testToStringFull()
           
 void testToStringLeadingCoeff()
           
 void testToStringNaN()
           
 void testToStringPow()
           
 void testToStringSimple()
           
 void testToStringZero()
           
 void testValueOfConst()
           
 void testValueOfFull()
           
 void testValueOfLeadingCoeff()
           
 void testValueOfNaN()
           
 void testValueOfPow()
           
 void testValueOfSimple()
           
 void testValueOfZero()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatTermTest

public RatTermTest()
Method Detail

testCtor

public void testCtor()

testCtorZeroCoeff

public void testCtorZeroCoeff()

testCtorNaN

public void testCtorNaN()

testGetCoeff

public void testGetCoeff()

testGetExpt

public void testGetExpt()

testIsNaN

public void testIsNaN()

testIsZero

public void testIsZero()

testEval

public void testEval()

testEquals

public void testEquals()

testEqualsZeroCoeff

public void testEqualsZeroCoeff()

testEqualsNaNCoeff

public void testEqualsNaNCoeff()

testValueOfSimple

public void testValueOfSimple()

testValueOfConst

public void testValueOfConst()

testValueOfLeadingCoeff

public void testValueOfLeadingCoeff()

testValueOfPow

public void testValueOfPow()

testValueOfFull

public void testValueOfFull()

testValueOfNaN

public void testValueOfNaN()

testValueOfZero

public void testValueOfZero()

testToStringSimple

public void testToStringSimple()

testToStringConst

public void testToStringConst()

testToStringLeadingCoeff

public void testToStringLeadingCoeff()

testToStringPow

public void testToStringPow()

testToStringFull

public void testToStringFull()

testToStringNaN

public void testToStringNaN()

testToStringZero

public void testToStringZero()

testAdd

public void testAdd()

testSub

public void testSub()

testMul

public void testMul()

testDiv

public void testDiv()

testOperationsOnNaN

public void testOperationsOnNaN()

testOperationsOnZero

public void testOperationsOnZero()

testDifferentExptArgs

public void testDifferentExptArgs()

testDifferentiate

public void testDifferentiate()

testAntiDifferentiate

public void testAntiDifferentiate()