org.lsmp.djepJUnit
Class DJepTest
java.lang.Object
TestCase
org.lsmp.djepJUnit.DJepTest
- public class DJepTest
- extends TestCase
- Author:
- Rich Morris
Created on 19-Nov-2003
- See Also:
- Serialized Form
Constructor Summary |
DJepTest(java.lang.String name)
|
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
DJepTest
public DJepTest(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
testNaN
public void testNaN()
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testAssign2
public void testAssign2()
testSqrt
public void testSqrt()
testSum
public void testSum()
testBad
public void testBad()
throws ParseException
- Throws:
ParseException
http://www.singularsys.com/jep Copyright © 2004 Singular Systems