Package edu.jas.ufd
Class HenselUtilTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.ufd.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 aHenselUtilTest
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
-
-
-
-
Constructor Detail
-
HenselUtilTest
public HenselUtilTest(java.lang.String name)
Constructs aHenselUtilTest
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
-
getPrime1
protected static java.math.BigInteger getPrime1()
-
getPrime2
protected static java.math.BigInteger getPrime2()
-
testHenselLifting
public void testHenselLifting()
Test Hensel lifting.
-
testHenselLiftingGcd
public void testHenselLiftingGcd()
Test Hensel lifting with gcd.
-
testHenselQuadraticLifting
public void testHenselQuadraticLifting()
Test Hensel quadratic lifting.
-
testHenselQuadraticLiftingGcd
public void testHenselQuadraticLiftingGcd()
Test Hensel quadratic lifting with gcd.
-
testLiftingEgcd
public void testLiftingEgcd()
Test lifting of extended Euclidean relation.
-
testLiftingEgcdList
public void testLiftingEgcdList()
Test lifting of list of extended Euclidean relation.
-
testLiftingDiophantList
public void testLiftingDiophantList()
Test lifting of list of Diophant relation.
-
testHenselLiftingMonicList
public void testHenselLiftingMonicList()
Test Hensel monic lifting new list version.
-
testHenselLiftingList
public void testHenselLiftingList()
Test Hensel lifting new list version.
-
-