org.lsmp.djepJUnit
Class GroupJepTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.lsmp.djepJUnit.GroupJepTest
All Implemented Interfaces:
junit.framework.Test

public class GroupJepTest
extends junit.framework.TestCase

Tests some strange properties of special groups.

Author:
Rich Morris Created on 19-Nov-2003

Field Summary
static boolean SHOW_BAD
           
 
Constructor Summary
GroupJepTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void myAssertEquals(java.lang.String msg, java.lang.String expected, java.lang.String actual)
           
 void myAssertEquals(java.lang.String msg, java.lang.String expected, java.lang.String actual, java.lang.String ending)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testBad()
           
 void testGood()
          just test JUnit working OK
 void testPolynomialCreator()
           
 void testPolynomials()
           
 void testPolynomials2()
           
 void testQ()
          Tests rationals
 void testQuartonians()
          Tests Quaternions
 void testZ()
          Tests very large numbers, 20!
 void testZ5thRootUnity()
           
 void testZn()
          Tests integers mod 5
 void testZroot2()
           
 void testZRoot2Root5()
           
 void testZtau()
           
 void valueToStringTest(java.lang.String expr, java.lang.String expected)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

SHOW_BAD

public static final boolean SHOW_BAD
See Also:
Constant Field Values
Constructor Detail

GroupJepTest

public GroupJepTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

setUp

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

suite

public static junit.framework.Test suite()

myAssertEquals

public void myAssertEquals(java.lang.String msg,
                           java.lang.String expected,
                           java.lang.String actual)

myAssertEquals

public void myAssertEquals(java.lang.String msg,
                           java.lang.String expected,
                           java.lang.String actual,
                           java.lang.String ending)

testGood

public void testGood()
just test JUnit working OK


valueToStringTest

public void valueToStringTest(java.lang.String expr,
                              java.lang.String expected)
                       throws java.lang.Exception
Throws:
java.lang.Exception

testZ

public void testZ()
           throws java.lang.Exception
Tests very large numbers, 20!

Throws:
java.lang.Exception

testQ

public void testQ()
           throws java.lang.Exception
Tests rationals

Throws:
java.lang.Exception

testQuartonians

public void testQuartonians()
                     throws java.lang.Exception
Tests Quaternions

Throws:
java.lang.Exception

testZn

public void testZn()
            throws java.lang.Exception
Tests integers mod 5

Throws:
java.lang.Exception

testZroot2

public void testZroot2()
                throws java.lang.Exception
Throws:
java.lang.Exception

testZ5thRootUnity

public void testZ5thRootUnity()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testZRoot2Root5

public void testZRoot2Root5()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testZtau

public void testZtau()
              throws java.lang.Exception
Throws:
java.lang.Exception

testPolynomials

public void testPolynomials()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testPolynomials2

public void testPolynomials2()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testPolynomialCreator

public void testPolynomialCreator()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testBad

public void testBad()
             throws ParseException
Throws:
ParseException


http://www.singularsys.com/jep Copyright © 2007 Singular Systems