ps1.test
Class RatPolyTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
ps1.test.RatPolyTest
- All Implemented Interfaces:
- Test
public final class RatPolyTest
- extends TestCase
This class contains a set of test cases that can be used to test the
implementation of the RatPoly class.
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
RatPolyTest
public RatPolyTest(String name)
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()
testMul
public void testMul()
testOpsWithNaN
public void testOpsWithNaN(RatPoly p)
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()
testDivByZero
public void testDivByZero()
testDivByPolyWithNaN
public void testDivByPolyWithNaN()
testDifferentiate
public void testDifferentiate()
testAntiDifferentiate
public void testAntiDifferentiate()
testIntegrate
public void testIntegrate()
suite
public static Test suite()