public class GenVectorTest extends junit.framework.TestCase
Constructor and Description |
---|
GenVectorTest(java.lang.String name)
Constructs a
RatGenVectorTest object. |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
main.
|
protected void |
setUp() |
static junit.framework.Test |
suite() |
protected void |
tearDown() |
void |
testPolynomialAddition()
Test addition.
|
void |
testPolynomialConstruction()
Test constructor and toString.
|
void |
testPolynomialMultiplication()
Test scalar multiplication.
|
void |
testPolynomialRandom()
Test random vector
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public GenVectorTest(java.lang.String name)
RatGenVectorTest
object.name
- String.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 testPolynomialConstruction()
public void testPolynomialRandom()
public void testPolynomialAddition()
public void testPolynomialMultiplication()