Package edu.jas.gbufd
Class ReductionTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.gbufd.ReductionTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ReductionTest extends junit.framework.TestCase
Reduction tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description ReductionTest(java.lang.String name)Constructs aReductionTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)mainprotected voidsetUp()static junit.framework.Testsuite()suite.protected voidtearDown()voidtestIntegerPseudoReduction()Test integer coefficient pseudo-reduction.voidtestIntegerRReduction()Test integer coefficient pseudo r-reduction.voidtestIntReductionRecording()Test integer pseudo coefficient reduction with recording.voidtestIntRReductionRecording()Test integer pseudo coefficient r-reduction with recording.voidtestRationalRReduction()Test rational coefficient r-reduction.voidtestRatRReductionRecording()Test rational coefficient r-reduction with recording.-
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
-
ReductionTest
public ReductionTest(java.lang.String name)
Constructs aReductionTestobject.- Parameters:
name- String
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
main
-
suite
public static junit.framework.Test suite()
suite.- Returns:
- a test suite.
-
setUp
protected void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.framework.TestCase
-
testRationalRReduction
public void testRationalRReduction()
Test rational coefficient r-reduction.
-
testRatRReductionRecording
public void testRatRReductionRecording()
Test rational coefficient r-reduction with recording.
-
testIntegerPseudoReduction
public void testIntegerPseudoReduction()
Test integer coefficient pseudo-reduction.
-
testIntReductionRecording
public void testIntReductionRecording()
Test integer pseudo coefficient reduction with recording.
-
testIntegerRReduction
public void testIntegerRReduction()
Test integer coefficient pseudo r-reduction.
-
testIntRReductionRecording
public void testIntRReductionRecording()
Test integer pseudo coefficient r-reduction with recording.
-
-