Package edu.jas.poly
Class ExpVectorTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.poly.ExpVectorTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ExpVectorTest extends junit.framework.TestCase
ExpVector tests with JUnit. Tests arithmetic operations, for comparison tests see TermOrderTest.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description ExpVectorTest(java.lang.String name)Constructs aExpVectorTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)mainvoidrunWeightdeg(ExpVector a, ExpVector b)Run weight degree tests.protected voidsetUp()static junit.framework.Testsuite()protected voidtearDown()voidtestAddition()Test addition.voidtestAddition2()Test addition.voidtestBitLength()Test bitLength.voidtestByte()Test ExpVectorByte.voidtestConstructor()Test constructor and toString.voidtestDependency()Test dependency on variables.voidtestDependency2()Test dependency on variables.voidtestEvaluation()Test evaluation.voidtestInteger()Test ExpVectorInteger.voidtestLcm()Test lcm.voidtestLcm2()Test lcm.voidtestRandom()Test random integer.voidtestRandom2()Test random exp vector 2.voidtestShort()Test ExpVectorShort.voidtestTdeg()Test tdeg.voidtestTdeg2()Test tdeg.voidtestWeightdeg()Test weight degree.voidtestWeightdeg2()Test weighted.voidtestWeightdegIntShortByte()Test weight degree, long, integer, short and byte.-
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
-
ExpVectorTest
public ExpVectorTest(java.lang.String name)
Constructs aExpVectorTestobject.- 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
-
testConstructor
public void testConstructor()
Test constructor and toString.
-
testBitLength
public void testBitLength()
Test bitLength.
-
testRandom
public void testRandom()
Test random integer.
-
testAddition
public void testAddition()
Test addition.
-
testLcm
public void testLcm()
Test lcm.
-
testTdeg
public void testTdeg()
Test tdeg.
-
testWeightdeg
public void testWeightdeg()
Test weight degree.
-
testDependency
public void testDependency()
Test dependency on variables.
-
testRandom2
public void testRandom2()
Test random exp vector 2.
-
testAddition2
public void testAddition2()
Test addition.
-
testLcm2
public void testLcm2()
Test lcm.
-
testTdeg2
public void testTdeg2()
Test tdeg.
-
testWeightdeg2
public void testWeightdeg2()
Test weighted.
-
testDependency2
public void testDependency2()
Test dependency on variables.
-
testEvaluation
public void testEvaluation()
Test evaluation.
-
testInteger
public void testInteger()
Test ExpVectorInteger.
-
testShort
public void testShort()
Test ExpVectorShort.
-
testByte
public void testByte()
Test ExpVectorByte.
-
testWeightdegIntShortByte
public void testWeightdegIntShortByte()
Test weight degree, long, integer, short and byte.
-
runWeightdeg
public void runWeightdeg(ExpVector a, ExpVector b)
Run weight degree tests.
-
-