edu.jas.poly
Class ComplexOrderedMapPolynomialTest

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

public class ComplexOrderedMapPolynomialTest
extends junit.framework.TestCase

ComplexOrderedMapPolynomial Test using JUnit


Field Summary
(package private)  OrderedPolynomial a
           
(package private)  OrderedPolynomial b
           
(package private)  OrderedPolynomial c
           
(package private)  OrderedPolynomial d
           
(package private)  OrderedPolynomial e
           
(package private)  int el
           
(package private)  int kl
           
(package private)  int ll
           
(package private)  float q
           
(package private)  int rl
           
 
Constructor Summary
ComplexOrderedMapPolynomialTest(java.lang.String name)
          Constructs a ComplexOrderedMapPolynomialTest 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 testMultiplication()
          Test multiplication
 void testMultiplication1()
          Test object multiplication
 void testMultiplication2()
          Test object multiplication with add
 void testRandom()
          Test random polynomial
 
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

a

OrderedPolynomial a

b

OrderedPolynomial b

c

OrderedPolynomial c

d

OrderedPolynomial d

e

OrderedPolynomial e

rl

int rl

kl

int kl

ll

int ll

el

int el

q

float q
Constructor Detail

ComplexOrderedMapPolynomialTest

public ComplexOrderedMapPolynomialTest(java.lang.String name)
Constructs a ComplexOrderedMapPolynomialTest 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 polynomial


testAddition

public void testAddition()
Test addition


testMultiplication

public void testMultiplication()
Test multiplication


testMultiplication1

public void testMultiplication1()
Test object multiplication


testMultiplication2

public void testMultiplication2()
Test object multiplication with add