Package com.singularsys.jeptests.system
Class RealEvalTest
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.jeptests.system.CPTest
com.singularsys.jeptests.system.RealEvalTest
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jeptests.system.JepTest
JepTest.AddFractionsNary, JepTest.AddFractionsStack, JepTest.Diff, JepTest.MyBinary, JepTest.MyNary, JepTest.MyNaryBinary, JepTest.MyNullary, JepTest.MyUnary, JepTest.PiFun, JepTest.Product, JepTest.Square
-
Field Summary
Fields inherited from class com.singularsys.jeptests.system.JepTest
jep, myFalse, myTrue, PRINT_RESULTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
Sets up the parser.void
void
void
Test changing variables value after parsingvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
protected void
Test result j.evaluate(j.parse(expr))Methods inherited from class com.singularsys.jeptests.system.CPTest
testAddOp, testEmptyEqn2, testMultiDimArrayPrint
Methods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, setShiftZeroElePfmc, test_not_X_Y, test_parser_sets_parent, testAssign, testBinom, testBlankParser, testChangeVariable, testComments, testEleUnit, 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
-
Constructor Details
-
RealEvalTest
public RealEvalTest()
-
-
Method Details
-
setUp
public void setUp()Description copied from class:JepTest
Sets up the parser. -
valueTest
Description copied from class:JepTest
Test result j.evaluate(j.parse(expr)) -
testEvaluateComplex
public void testEvaluateComplex()- Overrides:
testEvaluateComplex
in classJepTest
-
testEvaluateString
public void testEvaluateString()- Overrides:
testEvaluateString
in classJepTest
-
testComplex
public void testComplex()- Overrides:
testComplex
in classJepTest
-
testChangeVariableComplex
public void testChangeVariableComplex()Description copied from class:JepTest
Test changing variables value after parsing- Overrides:
testChangeVariableComplex
in classJepTest
-
testListAccess
public void testListAccess()- Overrides:
testListAccess
in classJepTest
-
testListAccessShiftZero
public void testListAccessShiftZero()- Overrides:
testListAccessShiftZero
in classJepTest
-
testListFunctions
public void testListFunctions()- Overrides:
testListFunctions
in classJepTest
-
testListExtra
public void testListExtra()- Overrides:
testListExtra
in classJepTest
-
testMultiDimArray
public void testMultiDimArray()- Overrides:
testMultiDimArray
in classJepTest
-
testMultiDimArrayAccess
public void testMultiDimArrayAccess()- Overrides:
testMultiDimArrayAccess
in classCPTest
-
testDepth3ArrayAccess
public void testDepth3ArrayAccess()- Overrides:
testDepth3ArrayAccess
in classCPTest
-
testMultiDimArrayShiftZero
public void testMultiDimArrayShiftZero()- Overrides:
testMultiDimArrayShiftZero
in classJepTest
-
testMultiDimArrayAccessShiftZero
public void testMultiDimArrayAccessShiftZero()- Overrides:
testMultiDimArrayAccessShiftZero
in classCPTest
-
testDepth3ArrayAccessShiftZero
public void testDepth3ArrayAccessShiftZero()- Overrides:
testDepth3ArrayAccessShiftZero
in classCPTest
-
testStrings
public void testStrings()- Overrides:
testStrings
in classJepTest
-
testStringsFun
public void testStringsFun()- Overrides:
testStringsFun
in classJepTest
-
testCPStrings
public void testCPStrings()- Overrides:
testCPStrings
in classCPTest
-
testCaseString
public void testCaseString()- Overrides:
testCaseString
in classJepTest
-
testCaseNull
public void testCaseNull()- Overrides:
testCaseNull
in classJepTest
-
testSpecialFunctions
- Overrides:
testSpecialFunctions
in classJepTest
- Throws:
Exception
-
testComplexListAccess
public void testComplexListAccess()- Overrides:
testComplexListAccess
in classJepTest
-