public class RpTest extends JepTest
jep, myFalse, myTrue, PRINT_RESULTS| Constructor and Description |
|---|
RpTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Sets up the parser.
|
void |
testCaseNull() |
void |
testCaseString() |
void |
testChangeName() |
void |
testChangeVariableComplex()
Test changing variables value after parsing
|
void |
testComplex() |
void |
testEvaluateComplex() |
void |
testEvaluateString() |
void |
testLazyLogical() |
void |
testLazyLogical2() |
void |
testLazyLogicalBug()
Test for bug with 1&&1&&1
|
void |
testListAccess() |
void |
testListExtra() |
void |
testListFunctions() |
void |
testMultiDimArray() |
void |
testNull() |
void |
testRecursiveMacroFunction() |
void |
testRpEval()
Tests basic operation of the RpEval class.
|
void |
testRpSurf() |
void |
testSetAllowUndeclared()
Tests whether allowUndeclared is working properly.
|
void |
testSpecialFunctions() |
void |
testStrings() |
void |
testStringsFun() |
void |
testSwitch() |
protected void |
valueTest(java.lang.String expr,
java.lang.Object expected)
Test result j.evaluate(j.parse(expr))
|
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testChangeVariable, testComments, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testExpectedTokenSequence, testFormat, testFunction, testIf, testImplicitMul, testLogarithm, testLogical, testMacroFunction, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testSemiColon, testSimpleSum, testSpecialFunctions, testUminusPower, testX2Y, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestStringpublic void setUp()
JepTestpublic void testRpEval()
throws java.lang.Exception
java.lang.Exceptionpublic void testRpSurf()
throws java.lang.Exception
java.lang.Exceptionpublic void testSetAllowUndeclared()
throws java.lang.Exception
JepTesttestSetAllowUndeclared in class JepTestjava.lang.Exceptionpublic void testChangeName()
throws java.lang.Exception
java.lang.Exceptionpublic 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 testChangeVariableComplex()
throws java.lang.Exception
JepTesttestChangeVariableComplex in class JepTestjava.lang.Exceptionpublic void testStrings()
throws java.lang.Exception
testStrings in class JepTestjava.lang.Exceptionpublic void testComplex()
throws java.lang.Exception
testComplex in class JepTestjava.lang.Exceptionpublic void testListAccess()
throws java.lang.Exception
testListAccess in class JepTestjava.lang.Exceptionpublic void testListExtra()
throws java.lang.Exception
testListExtra in class JepTestjava.lang.Exceptionpublic void testListFunctions()
throws java.lang.Exception
testListFunctions in class JepTestjava.lang.Exceptionpublic void testMultiDimArray()
throws java.lang.Exception
testMultiDimArray in class JepTestjava.lang.Exceptionpublic void testLazyLogicalBug()
throws java.lang.Exception
JepTesttestLazyLogicalBug in class JepTestjava.lang.Exceptionpublic void testLazyLogical()
throws java.lang.Exception
testLazyLogical in class JepTestjava.lang.Exceptionpublic void testLazyLogical2()
throws java.lang.Exception
testLazyLogical2 in class JepTestjava.lang.Exceptionpublic void testRecursiveMacroFunction()
throws java.lang.Exception
testRecursiveMacroFunction in class JepTestjava.lang.Exceptionpublic void testCaseString()
throws java.lang.Exception
testCaseString in class JepTestjava.lang.Exceptionpublic void testSwitch()
throws java.lang.Exception
testSwitch in class JepTestjava.lang.Exceptionpublic void testCaseNull()
throws java.lang.Exception
testCaseNull in class JepTestjava.lang.Exceptionpublic void testNull()
throws java.lang.Exception
public void testStringsFun()
throws java.lang.Exception
testStringsFun in class JepTestjava.lang.Exceptionprotected void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
JepTestpublic void testSpecialFunctions()
throws java.lang.Exception
testSpecialFunctions in class JepTestjava.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep