Package edu.jas.ufd

Class 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 a GCDFactoryTest 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GCDFactoryTest

        public GCDFactoryTest​(java.lang.String name)
        Constructs a GCDFactoryTest 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.