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, testMultiDimArrayPrint
assertEqNodes, 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, valueTestString
public void setUp()
JepTest
protected void valueTest(java.lang.String expr, java.lang.Object expected) throws java.lang.Exception
JepTest
public void testEvaluateComplex() throws java.lang.Exception
testEvaluateComplex
in class JepTest
java.lang.Exception
public void testEvaluateString() throws java.lang.Exception
testEvaluateString
in class JepTest
java.lang.Exception
public void testComplex() throws java.lang.Exception
testComplex
in class JepTest
java.lang.Exception
public void testChangeVariableComplex()
JepTest
testChangeVariableComplex
in class JepTest
public void testListAccess() throws java.lang.Exception
testListAccess
in class JepTest
java.lang.Exception
public void testListFunctions() throws java.lang.Exception
testListFunctions
in class JepTest
java.lang.Exception
public void testListExtra() throws java.lang.Exception
testListExtra
in class JepTest
java.lang.Exception
public void testMultiDimArray() throws java.lang.Exception
testMultiDimArray
in class JepTest
java.lang.Exception
public void testMultiDimArrayAccess() throws java.lang.Exception
testMultiDimArrayAccess
in class CPTest
java.lang.Exception
public void testDepth3ArrayAccess() throws java.lang.Exception
testDepth3ArrayAccess
in class CPTest
java.lang.Exception
public void testStrings() throws java.lang.Exception
testStrings
in class JepTest
java.lang.Exception
public void testStringsFun() throws java.lang.Exception
testStringsFun
in class JepTest
java.lang.Exception
public void testCPStrings() throws java.lang.Exception
testCPStrings
in class CPTest
java.lang.Exception
public void testCaseString() throws java.lang.Exception
testCaseString
in class JepTest
java.lang.Exception
public void testCaseNull() throws java.lang.Exception
testCaseNull
in class JepTest
java.lang.Exception
public void testSpecialFunctions() throws java.lang.Exception
testSpecialFunctions
in class JepTest
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep