edu.jas.gbufd
Class GBFactoryTest

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

public class GBFactoryTest
extends junit.framework.TestCase

GreatestCommonDivisor factory tests with JUnit.

Author:
Heinz Kredel.

Constructor Summary
GBFactoryTest(java.lang.String name)
          Constructs a GBFactoryTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main.
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testAlgebraicNumberBigRational()
          Test get AlgebraicNumber<BigRational> implementation.
 void testAlgebraicNumberModInteger()
          Test get AlgebraicNumber<ModInteger> implementation.
 void testBigComplex()
          Test get BigComplex implementation.
 void testBigInteger()
          Test get BigInteger implementation.
 void testBigRational()
          Test get BigRational implementation.
 void testGenPolynomial()
          Test get GenPolynomial implementation.
 void testModInteger()
          Test get ModInteger implementation.
 void testProduct()
          Test get Product implementation.
 void testProxy()
          Test get proxy implementation.
 
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

GBFactoryTest

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

Parameters:
name - String.
Method Detail

main

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


suite

public static junit.framework.Test suite()

setUp

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

tearDown

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

testBigInteger

public void testBigInteger()
Test get BigInteger implementation.


testModInteger

public void testModInteger()
Test get ModInteger implementation.


testBigRational

public void testBigRational()
Test get BigRational implementation.


testBigComplex

public void testBigComplex()
Test get BigComplex implementation.


testAlgebraicNumberBigRational

public void testAlgebraicNumberBigRational()
Test get AlgebraicNumber<BigRational> implementation.


testAlgebraicNumberModInteger

public void testAlgebraicNumberModInteger()
Test get AlgebraicNumber<ModInteger> implementation.


testGenPolynomial

public void testGenPolynomial()
Test get GenPolynomial implementation.


testProduct

public void testProduct()
Test get Product implementation.


testProxy

public void testProxy()
Test get proxy implementation.