|
|||||||||
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.vector.GenVectorTest
public class GenVectorTest
GenVector tests with JUnit
Constructor Summary | |
---|---|
GenVectorTest(java.lang.String name)
Constructs a RatGenVectorTest 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 |
testConstruction()
Test constructor and toString. |
void |
testMultiplication()
Test scalar multiplication. |
void |
testPolynomialAddition()
Test addition. |
void |
testPolynomialConstruction()
Test constructor and toString. |
void |
testPolynomialMultiplication()
Test scalar multiplication. |
void |
testPolynomialRandom()
Test random vector |
void |
testRandom()
Test random vector. |
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 |
---|
public GenVectorTest(java.lang.String name)
RatGenVectorTest
object.
name
- String.Method 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 testConstruction()
public void testRandom()
public void testAddition()
public void testMultiplication()
public void testPolynomialConstruction()
public void testPolynomialRandom()
public void testPolynomialAddition()
public void testPolynomialMultiplication()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |