Package com.singularsys.exttests
Class XJepXAssignTest
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.exttests.XJepXAssignTest
Tests for the
xjep package
using two different assignment operators.-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanerTest(String expr, String expected) parses, processes and cleans both expression, tests toString are equalsparsePreprocSimp(String expr) parseProcCleanEval(String expr, Object expected) Parse, process, clean and evaluated tests equal to expectedvoidprocessCleanTestString(String expr, String expected) Parse, process, cleans expr test equal to expectedvoidsetUp()Sets up the parser.voidvoidvoidvoidvoidtestNull()voidvoidvoidvoidtestSub()voidvoidvoidvoidTest changed in extension 2.1.voidvoidMethods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, getNumber, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, setShiftZeroElePfmc, test_adding_existing_constant_fails, test_not_X_Y, test_parser_sets_parent, testAssign, testBinom, testBlankParser, testCaseNull, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testComplex, testComplexListAccess, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testListAccess, testListAccessShiftZero, testListExtra, testListFunctions, testListOperations, testLogarithm, testMacroFunction, testMultiDimArray, testMultiDimArrayShiftZero, 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
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS -
xj
-
-
Constructor Details
-
XJepXAssignTest
public XJepXAssignTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp()Description copied from class:JepTestSets up the parser. -
testOperatorTable
@Test public void testOperatorTable() -
testVarHasEquation
Test changed in extension 2.1. Setting a variable withz=5does not clear the equation.- Throws:
JepException
-
parsePreprocSimp
- Throws:
JepException
-
processCleanTestString
Parse, process, cleans expr test equal to expected- Parameters:
expr-expected-- Throws:
JepException
-
cleanerTest
parses, processes and cleans both expression, tests toString are equals- Parameters:
expr-expected-- Throws:
JepException
-
parseProcCleanEval
Parse, process, clean and evaluated tests equal to expected- Parameters:
expr-expected-- Returns:
- Throws:
ParseExceptionException
-
testLogical
- Overrides:
testLogicalin classJepTest- Throws:
Exception
-
testPrint
- Throws:
JepException
-
testCleaner
- Throws:
JepException
-
testExpand
- Throws:
ParseException
-
testVariableReuse
- Throws:
Exception
-
testReentrant
- Throws:
Exception
-
testFormat
- Overrides:
testFormatin classJepTest- Throws:
Exception
-
testVarInEqn
- Throws:
Exception
-
testUndecVar
- Throws:
JepException
-
testTreeBuild
- Throws:
Exception
-
testSub
- Throws:
Exception
-
testNull
-
testSymbolicAssign
- Throws:
Exception
-