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, valueTestString
public void setUp()
JepTest
public void testRpEval() throws java.lang.Exception
java.lang.Exception
public void testRpSurf() throws java.lang.Exception
java.lang.Exception
public void testSetAllowUndeclared() throws java.lang.Exception
JepTest
testSetAllowUndeclared
in class JepTest
java.lang.Exception
public void testChangeName() throws java.lang.Exception
java.lang.Exception
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 testChangeVariableComplex() throws java.lang.Exception
JepTest
testChangeVariableComplex
in class JepTest
java.lang.Exception
public void testStrings() throws java.lang.Exception
testStrings
in class JepTest
java.lang.Exception
public void testComplex() throws java.lang.Exception
testComplex
in class JepTest
java.lang.Exception
public void testListAccess() throws java.lang.Exception
testListAccess
in class JepTest
java.lang.Exception
public void testListExtra() throws java.lang.Exception
testListExtra
in class JepTest
java.lang.Exception
public void testListFunctions() throws java.lang.Exception
testListFunctions
in class JepTest
java.lang.Exception
public void testMultiDimArray() throws java.lang.Exception
testMultiDimArray
in class JepTest
java.lang.Exception
public void testLazyLogicalBug() throws java.lang.Exception
JepTest
testLazyLogicalBug
in class JepTest
java.lang.Exception
public void testLazyLogical() throws java.lang.Exception
testLazyLogical
in class JepTest
java.lang.Exception
public void testLazyLogical2() throws java.lang.Exception
testLazyLogical2
in class JepTest
java.lang.Exception
public void testRecursiveMacroFunction() throws java.lang.Exception
testRecursiveMacroFunction
in class JepTest
java.lang.Exception
public void testCaseString() throws java.lang.Exception
testCaseString
in class JepTest
java.lang.Exception
public void testSwitch() throws java.lang.Exception
testSwitch
in class JepTest
java.lang.Exception
public void testCaseNull() throws java.lang.Exception
testCaseNull
in class JepTest
java.lang.Exception
public void testNull() throws java.lang.Exception
public void testStringsFun() throws java.lang.Exception
testStringsFun
in class JepTest
java.lang.Exception
protected void valueTest(java.lang.String expr, java.lang.Object expected) throws java.lang.Exception
JepTest
public void testSpecialFunctions() throws java.lang.Exception
testSpecialFunctions
in class JepTest
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep