Package edu.jas.fd
Class SGCDFactoryTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.fd.SGCDFactoryTest
-
- All Implemented Interfaces:
junit.framework.Test
public class SGCDFactoryTest extends junit.framework.TestCase
Solvable GreatestCommonDivisor factory tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description SGCDFactoryTest(java.lang.String name)Constructs aSGCDFactoryTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)main.protected voidsetUp()static junit.framework.Testsuite()protected voidtearDown()voidtestAlgebraicNumberBigRational()Test get AlgebraicNumber<BigRational> implementation.voidtestAlgebraicNumberModInteger()Test get AlgebraicNumber<ModInteger> implementation.voidtestBigComplex()Test get BigComplex implementation.voidtestBigInteger()Test get BigInteger implementation.voidtestBigRational()Test get BigRational implementation.voidtestModInteger()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
-
SGCDFactoryTest
public SGCDFactoryTest(java.lang.String name)
Constructs aSGCDFactoryTestobject.- 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:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin 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.
-
-