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 aTermOrderTest
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()
suite.protected void
tearDown()
void
testAscendComparator()
Test ascend comparators.void
testAscendComparatorSplit()
Test ascend comparators split.void
testAscendComparatorWeightSplit()
Test ascend comparators weight and split.void
testCompareException()
Test compare exception.void
testCompareExceptionSplit()
Test compare exception split.void
testCompareExceptionWeigth()
Test compare exception weight.void
testCompareWeight()
Test compare weight.void
testCompareWeight2()
Test compare weight 2 rows.void
testCompareWeightSplit()
Test compare weight split.void
testConstructor()
Test constructor and toString.void
testConstructorSplit()
Test constructor, split TO.void
testConstructorWeight()
Test constructor weight and toString.void
testDescendComparator()
Test descend comparators.void
testDescendComparatorSplit()
Test descend comparators split.void
testDescendComparatorWeightSplit()
Test descend comparators weight and split.void
testException()
Test exception.void
testExceptionSplit()
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 aTermOrderTest
object.- 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:
setUp
in classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDown
in 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.
-
-