Package com.singularsys.jeptests.system
Class CPTest
- java.lang.Object
-
- com.singularsys.jeptests.system.JepTest
-
- com.singularsys.jeptests.system.CPTest
-
- Direct Known Subclasses:
CPSeqOpTest
,MatrixTest
,RealEvalTest
public class CPTest extends JepTest
Tests for the configurable parser.
-
-
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
Constructors Constructor Description CPTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Sets up the parser.void
testAddOp()
Tests the addOperator methodvoid
testCPStrings()
void
testDepth3ArrayAccess()
void
testDepth3ArrayAccessShiftZero()
void
testEmptyEqn2()
void
testMultiDimArrayAccess()
void
testMultiDimArrayAccessShiftZero()
void
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, testAssign, testBinom, testBlankParser, testCaseNull, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testComplex, testComplexListAccess, testEleUnit, testEmptyEqn, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFormat, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testListAccess, testListAccessShiftZero, testListExtra, testListFunctions, testLogarithm, testLogical, testMacroFunction, testMultiDimArray, testMultiDimArrayShiftZero, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNull, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testSpecialFunctions, testStrings, testStringsFun, testSwitch, testUminusPower, testX2Y, valueTest, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
-
-
-
-
Method Detail
-
setUp
public void setUp()
Description copied from class:JepTest
Sets up the parser.
-
testAddOp
public void testAddOp() throws ParseException
Tests the addOperator method- Throws:
ParseException
-
testCPStrings
public void testCPStrings() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmptyEqn2
public void testEmptyEqn2() throws java.lang.Exception
- Overrides:
testEmptyEqn2
in classJepTest
- Throws:
java.lang.Exception
-
testDepth3ArrayAccess
public void testDepth3ArrayAccess() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDepth3ArrayAccessShiftZero
public void testDepth3ArrayAccessShiftZero() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiDimArrayAccess
public void testMultiDimArrayAccess() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiDimArrayAccessShiftZero
public void testMultiDimArrayAccessShiftZero() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiDimArrayPrint
public void testMultiDimArrayPrint() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-