| Modifier and Type | Field and Description |
|---|---|
protected XJep |
xj |
jep, myFalse, myTrue, PRINT_RESULTS| Constructor and Description |
|---|
XJepTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanerTest(java.lang.String expr,
java.lang.String expected)
parses, processes and cleans both expression, tests toString are equals
|
java.lang.String |
parsePreprocSimp(java.lang.String expr) |
Node |
parseProcCleanEval(java.lang.String expr,
java.lang.Object expected)
Parse, process, clean and evaluated tests equal to expected
|
void |
processCleanTestString(java.lang.String expr,
java.lang.String expected)
Parse, process, cleans expr test equal to expected
|
void |
setUp()
Sets up the parser.
|
void |
testBad() |
void |
testCleaner() |
void |
testExpand() |
void |
testFormat() |
void |
testLogical() |
void |
testNull() |
void |
testOperatorTable() |
void |
testPrint() |
void |
testReentrant() |
void |
testSub() |
void |
testTreeBuild()
Not implemented
|
void |
testUndecVar() |
void |
testVariableReuse() |
void |
testVarInEqn() |
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testCaseNull, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testComplex, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testListAccess, testListExtra, testListFunctions, testLogarithm, testMacroFunction, testMultiDimArray, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testSpecialFunctions, testStrings, testStringsFun, testSwitch, testUminusPower, testX2Y, valueTest, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestStringprotected XJep xj
public void setUp()
JepTestpublic void testOperatorTable()
public java.lang.String parsePreprocSimp(java.lang.String expr)
throws JepException
JepExceptionpublic void processCleanTestString(java.lang.String expr,
java.lang.String expected)
throws JepException
expr - expected - JepExceptionpublic void cleanerTest(java.lang.String expr,
java.lang.String expected)
throws JepException
expr - expected - JepExceptionpublic Node parseProcCleanEval(java.lang.String expr, java.lang.Object expected) throws ParseException, java.lang.Exception
expr - expected - ParseExceptionjava.lang.Exceptionpublic void testLogical()
throws java.lang.Exception
testLogical in class JepTestjava.lang.Exceptionpublic void testPrint()
throws JepException
JepExceptionpublic void testCleaner()
throws JepException
JepExceptionpublic void testExpand()
throws ParseException
ParseExceptionpublic void testVariableReuse()
throws java.lang.Exception
java.lang.Exceptionpublic void testReentrant()
throws ParseException,
java.lang.Exception
ParseExceptionjava.lang.Exceptionpublic void testFormat()
throws java.lang.Exception
testFormat in class JepTestjava.lang.Exceptionpublic void testVarInEqn()
throws java.lang.Exception
java.lang.Exceptionpublic void testUndecVar()
throws JepException
JepExceptionpublic void testTreeBuild()
throws java.lang.Exception
java.lang.Exceptionpublic void testSub()
throws java.lang.Exception
java.lang.Exceptionpublic void testNull()
throws java.lang.Exception
public void testBad()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep