Package edu.jas.application
Class ResidueSolvableWordPolynomialTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.application.ResidueSolvableWordPolynomialTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ResidueSolvableWordPolynomialTest extends junit.framework.TestCase
BigRational coefficients ResidueSolvableWordPolynomial tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description ResidueSolvableWordPolynomialTest(java.lang.String name)
Constructs aResidueSolvableWordPolynomialTest
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
testAddition()
Test addition.void
testConstructor()
Test constructor, generators and properties.void
testDistributive()
Test distributive law.void
testExtendContractWeyl()
Test extension and contraction for Weyl relations.void
testMultiplication()
Test multiplication.void
testRandom()
Test random polynomial and conversion.void
testReverseWeyl()
Test reversion for Weyl relations.void
testWordCoeffsRelations()
Test word coefficient ring.-
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
-
ResidueSolvableWordPolynomialTest
public ResidueSolvableWordPolynomialTest(java.lang.String name)
Constructs aResidueSolvableWordPolynomialTest
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
-
testConstructor
public void testConstructor()
Test constructor, generators and properties.
-
testRandom
public void testRandom()
Test random polynomial and conversion.
-
testAddition
public void testAddition()
Test addition.
-
testMultiplication
public void testMultiplication()
Test multiplication.
-
testDistributive
public void testDistributive()
Test distributive law.
-
testWordCoeffsRelations
public void testWordCoeffsRelations()
Test word coefficient ring.
-
testExtendContractWeyl
public void testExtendContractWeyl()
Test extension and contraction for Weyl relations.
-
testReverseWeyl
public void testReverseWeyl()
Test reversion for Weyl relations.
-
-