|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.jas.poly.RatGenPolynomialTest
public class RatGenPolynomialTest
BigRational coefficients GenPolynomial tests with JUnit.
Constructor Summary | |
---|---|
RatGenPolynomialTest(java.lang.String name)
Constructs a RatGenPolynomialTest object. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
main. |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testAddition()
Test addition. |
void |
testConstruction()
Test constructor and toString. |
void |
testDistributive()
Test distributive law. |
void |
testMultiplication()
Test object multiplication. |
void |
testQuotRem()
Test object quotient and remainder. |
void |
testRandom()
Test random polynomial. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RatGenPolynomialTest(java.lang.String name)
RatGenPolynomialTest
object.
name
- String.Method Detail |
---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testConstruction()
public void testRandom()
public void testAddition()
public void testMultiplication()
public void testDistributive()
public void testQuotRem()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |