com.singularsys.jeptests.system
Class RealEvalTest
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.jeptests.system.CPTest
com.singularsys.jeptests.system.RealEvalTest
public class RealEvalTest
- extends CPTest
Methods inherited from class com.singularsys.jeptests.system.JepTest |
assertEqNodes, calcValue, calcValue, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testChangeVariable, testComments, testEmptyEqn, testEvalExceptions, testEvaluate, testExpectedTokenSequence, testFormat, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogicalBug, testLogarithm, testLogical, testMacroFunction, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNull, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSwitch, testUminusPower, testX2Y, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealEvalTest
public RealEvalTest()
setUp
public void setUp()
- Description copied from class:
JepTest
- Sets up the parser.
- Overrides:
setUp
in class CPTest
valueTest
protected void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
- Description copied from class:
JepTest
- Test result j.evaluate(j.parse(expr))
- Overrides:
valueTest
in class JepTest
- Parameters:
expr
- the expression to parse and evaluateexpected
- result expected
- Throws:
java.lang.Exception
testEvaluateComplex
public void testEvaluateComplex()
throws java.lang.Exception
- Overrides:
testEvaluateComplex
in class JepTest
- Throws:
java.lang.Exception
testEvaluateString
public void testEvaluateString()
throws java.lang.Exception
- Overrides:
testEvaluateString
in class JepTest
- Throws:
java.lang.Exception
testComplex
public void testComplex()
throws java.lang.Exception
- Overrides:
testComplex
in class JepTest
- Throws:
java.lang.Exception
testChangeVariableComplex
public void testChangeVariableComplex()
- Description copied from class:
JepTest
- Test changing variables value after parsing
- Overrides:
testChangeVariableComplex
in class JepTest
testListAccess
public void testListAccess()
throws java.lang.Exception
- Overrides:
testListAccess
in class JepTest
- Throws:
java.lang.Exception
testListFunctions
public void testListFunctions()
throws java.lang.Exception
- Overrides:
testListFunctions
in class JepTest
- Throws:
java.lang.Exception
testMultiDimArray
public void testMultiDimArray()
throws java.lang.Exception
- Overrides:
testMultiDimArray
in class JepTest
- Throws:
java.lang.Exception
testMultiDimArrayAccess
public void testMultiDimArrayAccess()
throws java.lang.Exception
- Overrides:
testMultiDimArrayAccess
in class CPTest
- Throws:
java.lang.Exception
testStrings
public void testStrings()
throws java.lang.Exception
- Overrides:
testStrings
in class JepTest
- Throws:
java.lang.Exception
testStringsFun
public void testStringsFun()
throws java.lang.Exception
- Overrides:
testStringsFun
in class JepTest
- Throws:
java.lang.Exception
testCPStrings
public void testCPStrings()
throws java.lang.Exception
- Overrides:
testCPStrings
in class CPTest
- Throws:
java.lang.Exception
testCaseString
public void testCaseString()
throws java.lang.Exception
- Overrides:
testCaseString
in class JepTest
- Throws:
java.lang.Exception
Copyright © 2010 Singular Systems http://www.singularsys.com/jep