Package com.singularsys.exttests
Class FieldDJepTest
- java.lang.Object
-
- com.singularsys.jeptests.system.JepTest
-
- com.singularsys.exttests.XJepTest
-
- com.singularsys.exttests.DJepTest
-
- com.singularsys.exttests.FieldDJepTest
-
public class FieldDJepTest extends DJepTest
Using differentiation and fields. Works because rather than being based of the class hierarchy for pfmc's differentiation uses 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
-
-
Constructor Summary
Constructors Constructor Description FieldDJepTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
Sets up the parser.void
testBenstein()
void
testComplexListAccess()
void
testLazyLogicalBug()
Test for bug with 1&&1&&1void
testListAccess()
void
testListAccessShiftZero()
void
testListExtra()
void
testListFunctions()
void
testMultiDimArray()
void
testMultiDimArrayShiftZero()
void
testNumberAsBooleanLogical()
void
testOperatorTable()
-
Methods inherited from class com.singularsys.exttests.DJepTest
testAssignDiff, testChainedVaraibles, testDiff, testDoc, testMacro, testMacroDiff
-
Methods inherited from class com.singularsys.exttests.XJepTest
build_expression_step_by_step_using_preprocess_eval_and_eqn, cleanerTest, eval_function_cause_argument_to_be_evaluated_at_preprocessed_time, parseProcCleanEval, preprocess_function_cause_argument_to_be_preprocessed_at_eval_time, processCleanTestString, run_preprocessor_commands, shallowcopy_of_preprocess_functions_are_new_instances_of_same_classes, test_substitution_with_xvariable, test_xassign_with_preprocessor, testBad, testCleaner, testExpand, testFormat, testFunctionTable, testFunctionTableWithExtraComponents, testLogical, testNull, testPrint, testReentrant, testSetupPreprocess_functions_using_default_constructor, testSetupPreprocess_functions_using_xjep_constructor, testSub, testTreeBuild, testUndecVar, testVariableReuse, testVarInEqn, testXFunctionTable_with_decorator_counstructor
-
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, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLogarithm, testMacroFunction, testMultiLine, testMultiplyBug, testNaN, testNoAssign, 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.
-
testOperatorTable
public void testOperatorTable()
- Overrides:
testOperatorTable
in classXJepTest
-
testListAccess
public void testListAccess() throws java.lang.Exception
- Overrides:
testListAccess
in classJepTest
- Throws:
java.lang.Exception
-
testComplexListAccess
public void testComplexListAccess() throws java.lang.Exception
- Overrides:
testComplexListAccess
in classJepTest
- Throws:
java.lang.Exception
-
testMultiDimArray
public void testMultiDimArray() throws java.lang.Exception
- Overrides:
testMultiDimArray
in classJepTest
- Throws:
java.lang.Exception
-
testListFunctions
public void testListFunctions() throws java.lang.Exception
- Overrides:
testListFunctions
in classJepTest
- Throws:
java.lang.Exception
-
testMultiDimArrayShiftZero
public void testMultiDimArrayShiftZero() throws java.lang.Exception
- Overrides:
testMultiDimArrayShiftZero
in classJepTest
- Throws:
java.lang.Exception
-
testListAccessShiftZero
public void testListAccessShiftZero() throws java.lang.Exception
- Overrides:
testListAccessShiftZero
in classJepTest
- Throws:
java.lang.Exception
-
testListExtra
public void testListExtra() throws java.lang.Exception
- Overrides:
testListExtra
in classJepTest
- Throws:
java.lang.Exception
-
testNumberAsBooleanLogical
public void testNumberAsBooleanLogical() throws java.lang.Exception
- Overrides:
testNumberAsBooleanLogical
in classJepTest
- Throws:
java.lang.Exception
-
testLazyLogicalBug
public void testLazyLogicalBug() throws java.lang.Exception
Description copied from class:JepTest
Test for bug with 1&&1&&1- Overrides:
testLazyLogicalBug
in classJepTest
- Throws:
java.lang.Exception
-
testBenstein
public void testBenstein() throws JepException
- Overrides:
testBenstein
in classXJepTest
- Throws:
JepException
-
-