Package edu.jas.poly
Class TermOrderTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.poly.TermOrderTest
-
- All Implemented Interfaces:
junit.framework.Test
public class TermOrderTest extends junit.framework.TestCase
TermOrder tests with JUnit. Tests also ExpVector comparisons.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description TermOrderTest(java.lang.String name)Constructs aTermOrderTestobject.
-
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()suite.protected voidtearDown()voidtestAscendComparator()Test ascend comparators.voidtestAscendComparatorSplit()Test ascend comparators split.voidtestAscendComparatorWeightSplit()Test ascend comparators weight and split.voidtestCompareException()Test compare exception.voidtestCompareExceptionSplit()Test compare exception split.voidtestCompareExceptionWeigth()Test compare exception weight.voidtestCompareWeight()Test compare weight.voidtestCompareWeight2()Test compare weight 2 rows.voidtestCompareWeightSplit()Test compare weight split.voidtestConstructor()Test constructor and toString.voidtestConstructorSplit()Test constructor, split TO.voidtestConstructorWeight()Test constructor weight and toString.voidtestDescendComparator()Test descend comparators.voidtestDescendComparatorSplit()Test descend comparators split.voidtestDescendComparatorWeightSplit()Test descend comparators weight and split.voidtestException()Test exception.voidtestExceptionSplit()Test exception split.-
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
-
TermOrderTest
public TermOrderTest(java.lang.String name)
Constructs aTermOrderTestobject.- Parameters:
name- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
main.
-
suite
public static junit.framework.Test suite()
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.
-
testConstructorSplit
public void testConstructorSplit()
Test constructor, split TO.
-
testConstructorWeight
public void testConstructorWeight()
Test constructor weight and toString.
-
testCompareWeight
public void testCompareWeight()
Test compare weight.
-
testCompareWeight2
public void testCompareWeight2()
Test compare weight 2 rows.
-
testCompareWeightSplit
public void testCompareWeightSplit()
Test compare weight split.
-
testAscendComparator
public void testAscendComparator()
Test ascend comparators.
-
testAscendComparatorSplit
public void testAscendComparatorSplit()
Test ascend comparators split.
-
testAscendComparatorWeightSplit
public void testAscendComparatorWeightSplit()
Test ascend comparators weight and split.
-
testDescendComparator
public void testDescendComparator()
Test descend comparators.
-
testDescendComparatorSplit
public void testDescendComparatorSplit()
Test descend comparators split.
-
testDescendComparatorWeightSplit
public void testDescendComparatorWeightSplit()
Test descend comparators weight and split.
-
testException
public void testException()
Test exception.
-
testExceptionSplit
public void testExceptionSplit()
Test exception split.
-
testCompareException
public void testCompareException()
Test compare exception.
-
testCompareExceptionSplit
public void testCompareExceptionSplit()
Test compare exception split.
-
testCompareExceptionWeigth
public void testCompareExceptionWeigth()
Test compare exception weight.
-
-