hw3.test
Class RatPolyStackTest
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatPolyStackTest
public RatPolyStackTest()
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()