hw3.test
Class RatPolyStackTest

java.lang.Object
  extended by hw3.test.RatPolyStackTest

public final class RatPolyStackTest
extends Object

This class contains a set of test cases that can be used to test the implementation of the RatPolyStack class. Some Test Methods are relatively longer in order to simulate proper stack functionality


Constructor Summary
RatPolyStackTest()
           
 
Method Summary
 void testAddMultiElems()
           
 void testAddTwoElems()
           
 void testClear()
           
 void testCtor()
           
 void testDifferentiate()
           
 void testDivMultiElems()
           
 void testDivTwoElems()
           
 void testDupWithMultVal()
           
 void testDupWithOneVal()
           
 void testDupWithTwoVal()
           
 void testIntegrate()
           
 void testMulMultiElems()
           
 void testMulTwoElems()
           
 void testPop()
           
 void testPush()
           
 void testPushCheckForSharingTwixtStacks()
           
 void testSubMultiElems()
           
 void testSubTwoElems()
           
 void testSwapWithMultElems()
           
 void testSwapWithTwoElems()
           
 void testSwapWitSameElems()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatPolyStackTest

public RatPolyStackTest()
Method Detail

testCtor

public void testCtor()

testPush

public void testPush()

testPushCheckForSharingTwixtStacks

public void testPushCheckForSharingTwixtStacks()

testPop

public void testPop()

testDupWithOneVal

public void testDupWithOneVal()

testDupWithTwoVal

public void testDupWithTwoVal()

testDupWithMultVal

public void testDupWithMultVal()

testSwapWithTwoElems

public void testSwapWithTwoElems()

testSwapWithMultElems

public void testSwapWithMultElems()

testSwapWitSameElems

public void testSwapWitSameElems()

testClear

public void testClear()

testAddTwoElems

public void testAddTwoElems()

testAddMultiElems

public void testAddMultiElems()

testSubTwoElems

public void testSubTwoElems()

testSubMultiElems

public void testSubMultiElems()

testMulTwoElems

public void testMulTwoElems()

testMulMultiElems

public void testMulMultiElems()

testDivTwoElems

public void testDivTwoElems()

testDivMultiElems

public void testDivMultiElems()

testDifferentiate

public void testDifferentiate()

testIntegrate

public void testIntegrate()