Package edu.jas.ufd

Class HenselUtilTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class HenselUtilTest
    extends junit.framework.TestCase
    HenselUtil tests with JUnit.
    Author:
    Heinz Kredel
    • Constructor Summary

      Constructors 
      Constructor Description
      HenselUtilTest​(java.lang.String name)
      Constructs a HenselUtilTest object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.math.BigInteger getPrime1()  
      protected static java.math.BigInteger getPrime2()  
      static void main​(java.lang.String[] args)
      main.
      protected void setUp()  
      static junit.framework.Test suite()  
      protected void tearDown()  
      void testHenselLifting()
      Test Hensel lifting.
      void testHenselLiftingGcd()
      Test Hensel lifting with gcd.
      void testHenselLiftingList()
      Test Hensel lifting new list version.
      void testHenselLiftingMonicList()
      Test Hensel monic lifting new list version.
      void testHenselQuadraticLifting()
      Test Hensel quadratic lifting.
      void testHenselQuadraticLiftingGcd()
      Test Hensel quadratic lifting with gcd.
      void testLiftingDiophantList()
      Test lifting of list of Diophant relation.
      void testLiftingEgcd()
      Test lifting of extended Euclidean relation.
      void testLiftingEgcdList()
      Test lifting of list of extended Euclidean relation.
      • 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

      • HenselUtilTest

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

        protected static java.math.BigInteger getPrime1()
      • getPrime2

        protected static java.math.BigInteger getPrime2()
      • testLiftingEgcd

        public void testLiftingEgcd()
        Test lifting of extended Euclidean relation.
      • testLiftingEgcdList

        public void testLiftingEgcdList()
        Test lifting of list of extended Euclidean relation.