|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.jas.poly.ExpVectorTest
public class ExpVectorTest
ExpVector Test using JUnit
Field Summary | |
---|---|
(package private) ExpVector |
a
|
(package private) ExpVector |
b
|
(package private) ExpVector |
c
|
(package private) ExpVector |
d
|
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 |
Field Detail |
---|
ExpVector a
ExpVector b
ExpVector c
ExpVector d
Constructor Detail |
---|
public ExpVectorTest(java.lang.String name)
ExpVectorTest
object.
name
- StringMethod Detail |
---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testConstructor()
public void testRandom()
public void testAddition()
public void testLcm()
public void testTdeg()
public void testWeightdeg()
public void testDependency()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |