Package edu.jas.ufd
Class FactorIntegerTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.ufd.FactorIntegerTest
-
- All Implemented Interfaces:
junit.framework.Test
public class FactorIntegerTest extends junit.framework.TestCase
Factor tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description FactorIntegerTest(java.lang.String name)
Constructs aFactorIntegerTest
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
testBivariateIntegerFactorization()
Test bi-variate integer factorization.void
testBivarIntegerFactorization()
Test integer factorization.void
testDummy()
Test dummy for Junit.void
testIntegerFactorization()
Test integer factorization.void
testIntegerFactorizationEx1()
Test integer factorization, example 1 from Wang.void
testIntegerFactorizationEx2()
Test integer factorization, example 2 from Wang.void
testIntegerFactorizationEx3()
Test integer factorization, example 3 from Wang.void
testIntegerFactorizationEx4()
Test integer factorization, example 4 from Wang.void
testIntegerFactorizationEx5()
Test integer factorization, example 5 from Wang.void
testIntegerFactorizationEx6()
Test integer factorization, example 6 from Wang.void
testIntegerFactorizationEx7()
Test integer factorization, example 7 from Wang.void
testIntegerFactorizationHk()
Test integer factorization.void
testIntegerFactorizationIrred()
Test integer factorization irreducible polynomial.void
testIntegerFactorizationLoop()
Test integer factorization.void
testIntegerFactorizationProd()
Test integer factorization.void
testIntegerMonicFactorization()
Test integer monic factorization.void
testMultivariateIntegerFactorization()
Test multivariate integer factorization.void
ytestQuadvariateIntegerFactorization()
Test quad-variate integer factorization.void
ytestTrivariateIntegerFactorization()
Test tri-variate integer factorization.-
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
-
FactorIntegerTest
public FactorIntegerTest(java.lang.String name)
Constructs aFactorIntegerTest
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
-
testDummy
public void testDummy()
Test dummy for Junit.
-
testIntegerMonicFactorization
public void testIntegerMonicFactorization()
Test integer monic factorization.
-
testIntegerFactorization
public void testIntegerFactorization()
Test integer factorization.
-
testIntegerFactorizationIrred
public void testIntegerFactorizationIrred()
Test integer factorization irreducible polynomial.
-
testBivariateIntegerFactorization
public void testBivariateIntegerFactorization()
Test bi-variate integer factorization.
-
ytestTrivariateIntegerFactorization
public void ytestTrivariateIntegerFactorization()
Test tri-variate integer factorization.
-
ytestQuadvariateIntegerFactorization
public void ytestQuadvariateIntegerFactorization()
Test quad-variate integer factorization.
-
testMultivariateIntegerFactorization
public void testMultivariateIntegerFactorization()
Test multivariate integer factorization.
-
testIntegerFactorizationEx1
public void testIntegerFactorizationEx1()
Test integer factorization, example 1 from Wang.
-
testIntegerFactorizationEx2
public void testIntegerFactorizationEx2()
Test integer factorization, example 2 from Wang.
-
testIntegerFactorizationEx3
public void testIntegerFactorizationEx3()
Test integer factorization, example 3 from Wang.
-
testIntegerFactorizationEx4
public void testIntegerFactorizationEx4()
Test integer factorization, example 4 from Wang.
-
testIntegerFactorizationEx5
public void testIntegerFactorizationEx5()
Test integer factorization, example 5 from Wang.
-
testIntegerFactorizationEx6
public void testIntegerFactorizationEx6()
Test integer factorization, example 6 from Wang.
-
testIntegerFactorizationEx7
public void testIntegerFactorizationEx7()
Test integer factorization, example 7 from Wang.
-
testIntegerFactorizationHk
public void testIntegerFactorizationHk()
Test integer factorization.
-
testBivarIntegerFactorization
public void testBivarIntegerFactorization()
Test integer factorization.
-
testIntegerFactorizationProd
public void testIntegerFactorizationProd()
Test integer factorization. Example (a+b*x) (c+d*x).
-
testIntegerFactorizationLoop
public void testIntegerFactorizationLoop()
Test integer factorization. Example (e x + d) (c d x + a e).
-
-