Package edu.jas.ufd
Class GCDFactoryTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.ufd.GCDFactoryTest
-
- All Implemented Interfaces:
junit.framework.Test
public class GCDFactoryTest extends junit.framework.TestCase
GreatestCommonDivisor factory tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description GCDFactoryTest(java.lang.String name)
Constructs aGCDFactoryTest
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
testModInteger()
Test get ModInteger implementation.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
GCDFactoryTest
public GCDFactoryTest(java.lang.String name)
Constructs aGCDFactoryTest
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 classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDown
in classjunit.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.
-
-