edu.jas.poly
Class ModuleListTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.jas.poly.ModuleListTest
All Implemented Interfaces:
junit.framework.Test

public class ModuleListTest
extends junit.framework.TestCase

ModuleList tests with JUnit.

Author:
Heinz Kredel

Constructor Summary
ModuleListTest(java.lang.String name)
          Constructs a ModuleListTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main.
protected  void setUp()
           
static junit.framework.Test suite()
          suite.
protected  void tearDown()
           
 void testConstructor()
          Test constructor and toString.
 void testModuleList()
          Test module list.
 void testModulePolynomialList()
          Test module and polynomial list.
 void testModulePolynomialModuleList()
          Test module and polynomial and module list.
 void testModulePolynomialModuleListPolynomial()
          Test module and polynomial and module and polynomial list.
 void testPolynomialList()
          Test polynomial list.
 
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

ModuleListTest

public ModuleListTest(java.lang.String name)
Constructs a ModuleListTest object.

Parameters:
name - String.
Method Detail

main

public static void main(java.lang.String[] args)
main.


suite

public static junit.framework.Test suite()
suite.

Returns:
a test suite.

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testConstructor

public void testConstructor()
Test constructor and toString.


testPolynomialList

public void testPolynomialList()
Test polynomial list.


testModuleList

public void testModuleList()
Test module list.


testModulePolynomialList

public void testModulePolynomialList()
Test module and polynomial list.


testModulePolynomialModuleList

public void testModulePolynomialModuleList()
Test module and polynomial and module list.


testModulePolynomialModuleListPolynomial

public void testModulePolynomialModuleListPolynomial()
Test module and polynomial and module and polynomial list.