public class XJepDualTest extends JepTest
Modifier and Type | Field and Description |
---|---|
protected XJep |
xj |
jep, myFalse, myTrue, PRINT_RESULTS
Constructor and Description |
---|
XJepDualTest() |
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 |
testVarHasEquation() |
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, valueTestString
protected XJep xj
public void setUp()
JepTest
public void testOperatorTable()
public void testVarHasEquation() throws JepException
JepException
public java.lang.String parsePreprocSimp(java.lang.String expr) throws JepException
JepException
public void processCleanTestString(java.lang.String expr, java.lang.String expected) throws JepException
expr
- expected
- JepException
public void cleanerTest(java.lang.String expr, java.lang.String expected) throws JepException
expr
- expected
- JepException
public Node parseProcCleanEval(java.lang.String expr, java.lang.Object expected) throws ParseException, java.lang.Exception
expr
- expected
- ParseException
java.lang.Exception
public void testLogical() throws java.lang.Exception
testLogical
in class JepTest
java.lang.Exception
public void testPrint() throws JepException
JepException
public void testCleaner() throws JepException
JepException
public void testExpand() throws ParseException
ParseException
public void testVariableReuse() throws java.lang.Exception
java.lang.Exception
public void testReentrant() throws ParseException, java.lang.Exception
ParseException
java.lang.Exception
public void testFormat() throws java.lang.Exception
testFormat
in class JepTest
java.lang.Exception
public void testVarInEqn() throws java.lang.Exception
java.lang.Exception
public void testUndecVar() throws JepException
JepException
public void testTreeBuild() throws java.lang.Exception
java.lang.Exception
public void testSub() throws java.lang.Exception
java.lang.Exception
public void testNull() throws java.lang.Exception
public void testBad() throws java.lang.Exception
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep