org.lsmp.djepJUnit
Class XJepTest
java.lang.Object
TestCase
org.lsmp.djepJUnit.XJepTest
- public class XJepTest
- extends TestCase
- Author:
- Rich Morris
Created on 19-Nov-2003
- See Also:
- Serialized Form
Constructor Summary |
XJepTest(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
XJepTest
public XJepTest(java.lang.String name)
main
public static void main(java.lang.String[] args)
setUp
protected void setUp()
suite
public static Test suite()
myAssertEquals
public void myAssertEquals(java.lang.String msg,
java.lang.String actual,
java.lang.String expected)
testGood
public void testGood()
- just test JUnit working OK
valueTest
public void valueTest(java.lang.String expr,
double dub)
throws java.lang.Exception
- Throws:
java.lang.Exception
valueTest
public void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
- Throws:
java.lang.Exception
complexValueTest
public void complexValueTest(java.lang.String expr,
Complex expected,
double tol)
throws java.lang.Exception
- Throws:
java.lang.Exception
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()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOperators
public void testOperators()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPrint
public void testPrint()
throws ParseException
- Throws:
ParseException
testSimp
public void testSimp()
throws ParseException
- Throws:
ParseException
testComplex
public void testComplex()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIf
public void testIf()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAssign
public void testAssign()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMacroFun
public void testMacroFun()
throws java.lang.Exception
- Throws:
java.lang.Exception
testVariableReuse
public void testVariableReuse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDotInName
public void testDotInName()
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testReentrant
public void testReentrant()
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testRewrite
public void testRewrite()
throws ParseException,
java.lang.Exception
- Throws:
ParseException
java.lang.Exception
testBad
public void testBad()
throws ParseException
- Throws:
ParseException
http://www.singularsys.com/jep Copyright © 2004 Singular Systems