Package com.singularsys.jeptests.system
Class JepTestWithCustomNumberType
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.jeptests.system.JepTestWithCustomNumberType
JepTests using a ccustom number type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA custom number type, simple wrapps a double.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 -
Method Summary
Methods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, 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, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testListAccess, testListExtra, testLogarithm, testLogical, testMacroFunction, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNull, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testStrings, testStringsFun, testSwitch, testUminusPower, testX2Y, valueTest, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
-
Constructor Details
-
JepTestWithCustomNumberType
public JepTestWithCustomNumberType()
-
-
Method Details
-
setUp
@BeforeEach public void setUp()Description copied from class:JepTestSets up the parser. -
getNumber
Description copied from class:JepTestCreate a number of the appropriate type -
myAssertEquals
protected void myAssertEquals(String msg, Object expected, Object actual) throws EvaluationException - Overrides:
myAssertEqualsin classJepTest- Throws:
EvaluationException
-
testListOperations
- Overrides:
testListOperationsin classJepTest- Throws:
Exception
-
testMultiDimArray
- Overrides:
testMultiDimArrayin classJepTest- Throws:
Exception
-
testMultiDimArrayShiftZero
@Disabled("not defined for Custom Numbers") @Test public void testMultiDimArrayShiftZero() throws Exception- Overrides:
testMultiDimArrayShiftZeroin classJepTest- Throws:
Exception
-
testListAccessShiftZero
@Disabled("not defined for Custom Numbers") @Test public void testListAccessShiftZero() throws Exception- Overrides:
testListAccessShiftZeroin classJepTest- Throws:
Exception
-
testListFunctions
- Overrides:
testListFunctionsin classJepTest- Throws:
Exception
-
testSpecialFunctions
@Disabled("not defined for Custom Numbers") @Test public void testSpecialFunctions() throws Exception- Overrides:
testSpecialFunctionsin classJepTest- Throws:
Exception
-
testComplexListAccess
@Disabled("not defined for Custom Numbers") @Test public void testComplexListAccess() throws Exception- Overrides:
testComplexListAccessin classJepTest- Throws:
Exception
-
testEvaluate
Description copied from class:JepTestTests theevaluate()method.- Overrides:
testEvaluatein classJepTest- Throws:
Exception
-
testFormat
- Overrides:
testFormatin classJepTest- Throws:
Exception
-