public class RealEvalTest extends CPTest
jep, myFalse, myTrue, PRINT_RESULTS| Constructor and Description |
|---|
RealEvalTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Sets up the parser.
|
void |
testCaseNull() |
void |
testCaseString() |
void |
testChangeVariableComplex()
Test changing variables value after parsing
|
void |
testComplex() |
void |
testCPStrings() |
void |
testDepth3ArrayAccess() |
void |
testEvaluateComplex() |
void |
testEvaluateString() |
void |
testListAccess() |
void |
testListExtra() |
void |
testListFunctions() |
void |
testMultiDimArray() |
void |
testMultiDimArrayAccess() |
void |
testSpecialFunctions() |
void |
testStrings() |
void |
testStringsFun() |
protected void |
valueTest(java.lang.String expr,
java.lang.Object expected)
Test result j.evaluate(j.parse(expr))
|
testAddOp, testBug61, testEmptyEqn2, testMultiDimArrayPrintassertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testChangeVariable, testComments, testEmptyEqn, testEvalExceptions, testEvaluate, testExpectedTokenSequence, testFormat, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testLogarithm, testLogical, testMacroFunction, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNull, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testSwitch, testUminusPower, testX2Y, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestStringpublic void setUp()
JepTestprotected void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
JepTestpublic void testEvaluateComplex()
throws java.lang.Exception
testEvaluateComplex in class JepTestjava.lang.Exceptionpublic void testEvaluateString()
throws java.lang.Exception
testEvaluateString in class JepTestjava.lang.Exceptionpublic void testComplex()
throws java.lang.Exception
testComplex in class JepTestjava.lang.Exceptionpublic void testChangeVariableComplex()
JepTesttestChangeVariableComplex in class JepTestpublic void testListAccess()
throws java.lang.Exception
testListAccess in class JepTestjava.lang.Exceptionpublic void testListFunctions()
throws java.lang.Exception
testListFunctions in class JepTestjava.lang.Exceptionpublic void testListExtra()
throws java.lang.Exception
testListExtra in class JepTestjava.lang.Exceptionpublic void testMultiDimArray()
throws java.lang.Exception
testMultiDimArray in class JepTestjava.lang.Exceptionpublic void testMultiDimArrayAccess()
throws java.lang.Exception
testMultiDimArrayAccess in class CPTestjava.lang.Exceptionpublic void testDepth3ArrayAccess()
throws java.lang.Exception
testDepth3ArrayAccess in class CPTestjava.lang.Exceptionpublic void testStrings()
throws java.lang.Exception
testStrings in class JepTestjava.lang.Exceptionpublic void testStringsFun()
throws java.lang.Exception
testStringsFun in class JepTestjava.lang.Exceptionpublic void testCPStrings()
throws java.lang.Exception
testCPStrings in class CPTestjava.lang.Exceptionpublic void testCaseString()
throws java.lang.Exception
testCaseString in class JepTestjava.lang.Exceptionpublic void testCaseNull()
throws java.lang.Exception
testCaseNull in class JepTestjava.lang.Exceptionpublic void testSpecialFunctions()
throws java.lang.Exception
testSpecialFunctions in class JepTestjava.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep