edu.jas.poly
Class ExpVectorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.jas.poly.ExpVectorTest
All Implemented Interfaces:
junit.framework.Test

public class ExpVectorTest
extends junit.framework.TestCase

ExpVector tests with JUnit.

Author:
Heinz Kredel.

Constructor Summary
ExpVectorTest(java.lang.String name)
          Constructs a ExpVectorTest object.
 
Method Summary
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 and toString.
 void testDependency()
          Test dependency on variables.
 void testLcm()
          Test lcm.
 void testRandom()
          Test random integer.
 void testTdeg()
          Test tdeg.
 void testWeightdeg()
          Test weighted.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpVectorTest

public ExpVectorTest(java.lang.String name)
Constructs a ExpVectorTest 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 class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testConstructor

public void testConstructor()
Test constructor and toString.


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 weighted.


testDependency

public void testDependency()
Test dependency on variables.