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 aFactorIntegerTestobject.
-
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()voidtestBivariateIntegerFactorization()Test bi-variate integer factorization.voidtestBivarIntegerFactorization()Test integer factorization.voidtestDummy()Test dummy for Junit.voidtestIntegerFactorization()Test integer factorization.voidtestIntegerFactorizationEx1()Test integer factorization, example 1 from Wang.voidtestIntegerFactorizationEx2()Test integer factorization, example 2 from Wang.voidtestIntegerFactorizationEx3()Test integer factorization, example 3 from Wang.voidtestIntegerFactorizationEx4()Test integer factorization, example 4 from Wang.voidtestIntegerFactorizationEx5()Test integer factorization, example 5 from Wang.voidtestIntegerFactorizationEx6()Test integer factorization, example 6 from Wang.voidtestIntegerFactorizationEx7()Test integer factorization, example 7 from Wang.voidtestIntegerFactorizationHk()Test integer factorization.voidtestIntegerFactorizationIrred()Test integer factorization irreducible polynomial.voidtestIntegerFactorizationLoop()Test integer factorization.voidtestIntegerFactorizationProd()Test integer factorization.voidtestIntegerMonicFactorization()Test integer monic factorization.voidtestMultivariateIntegerFactorization()Test multivariate integer factorization.voidytestQuadvariateIntegerFactorization()Test quad-variate integer factorization.voidytestTrivariateIntegerFactorization()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 aFactorIntegerTestobject.- 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
-
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).
-
-