org.lsmp.djepJUnit
Class RewriteTest
java.lang.Object
TestCase
org.lsmp.djepJUnit.RewriteTest
public class RewriteTest
- extends TestCase
- Author:
- Rich Morris
Created on 19-Nov-2003
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_BAD
public static final boolean SHOW_BAD
- See Also:
- Constant Field Values
RewriteTest
public RewriteTest(java.lang.String name)
main
public static void main(java.lang.String[] args)
setUp
protected void setUp()
suite
public static Test suite()
testGood
public void testGood()
valueTest
public void valueTest(java.lang.String expr,
double dub)
valueTest
public void valueTest(java.lang.String expr,
java.lang.Object expected)
calcValue
public java.lang.Object calcValue(java.lang.String expr)
simplifyTest
public void simplifyTest(java.lang.String expr,
java.lang.String expected)
throws ParseException
- Throws:
ParseException
simplifyTestString
public void simplifyTestString(java.lang.String expr,
java.lang.String expected)
throws ParseException
- Throws:
ParseException
parseProcSimpEval
public Node parseProcSimpEval(java.lang.String expr,
java.lang.Object expected)
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testSimpleSum
public void testSimpleSum()
testOperators
public void testOperators()
testEval
public void testEval()
throws ParseException
- Throws:
ParseException
testSimp
public void testSimp()
throws ParseException
- Throws:
ParseException
testIf
public void testIf()
testAssign
public void testAssign()
testDiff
public void testDiff()
throws ParseException
- Throws:
ParseException
myAssertEquals
public void myAssertEquals(java.lang.String msg,
java.lang.String actual,
java.lang.String expected)
testAssignDiff
public void testAssignDiff()
throws ParseException
- Throws:
ParseException
testVariableReuse
public void testVariableReuse()
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testAssign2
public void testAssign2()
testSqrt
public void testSqrt()
testSum
public void testSum()
testRewrite
public void testRewrite()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTaylor
public void testTaylor()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMemory
public void testMemory()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBad
public void testBad()
throws ParseException
- Throws:
ParseException
http://www.singularsys.com/jep Copyright © 2004 Singular Systems