Package com.singularsys.jeptests.system
Class BigDecimalStandardTests
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.jeptests.system.BigDecimalStandardTests
JepTests using BigDecimals
-
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 inherited from class com.singularsys.jeptests.system.JepTest
jep, myFalse, myTrue, PRINT_RESULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectbuildMatrix(Object[]... eles) protected ObjectbuildVector(Object... eles) protected ObjectCreate a number of the appropriate typevoidsetUp()Sets up the parser.voidvoidvoidvoidTests theevaluate()method.voidvoidvoidvoidvoidTest for bug with 1&&1&&1voidvoidvoidvoidvoidvoidvoidvoidvoidtestNaN()voidvoidvoidvoidvoidvoidprotected voidTest result j.evaluate(j.parse(expr))Methods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, setShiftZeroElePfmc, test_adding_existing_constant_fails, test_not_X_Y, test_parser_sets_parent, testAssign, testBlankParser, testCaseNull, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluateString, testExpectedTokenSequence, testFormat, testIf, testImplicitMul, testListExtra, testLogical, testMultiLine, testMultiplyBug, testNoAssign, testNull, testNumberAsBooleanLogical, testNumParam, testParseException, testPlusPlus, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testSwitch, testX2Y, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
-
Constructor Details
-
BigDecimalStandardTests
public BigDecimalStandardTests()
-
-
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 -
buildMatrix
- Overrides:
buildMatrixin classJepTest- Throws:
Exception
-
buildVector
- Overrides:
buildVectorin classJepTest- Throws:
Exception
-
valueTest
Description copied from class:JepTestTest result j.evaluate(j.parse(expr))- Overrides:
valueTestin classJepTest- Parameters:
expr- the expression to parse and evaluateexpected- result expected- Throws:
JepException
-
testComplex
- Overrides:
testComplexin classJepTest- Throws:
Exception
-
testComplexListAccess
@Disabled("Complex Tests not run for BigDecimal") @Test public void testComplexListAccess() throws Exception- Overrides:
testComplexListAccessin classJepTest- Throws:
Exception
-
testEvaluateComplex
@Disabled("Complex Tests not run for BigDecimal") @Test public void testEvaluateComplex() throws Exception- Overrides:
testEvaluateComplexin classJepTest- Throws:
Exception
-
testBinom
-
testSpecialFunctions
@Disabled("testSpecialFunctions not defined for BigDecimal") @Test public void testSpecialFunctions() throws Exception- Overrides:
testSpecialFunctionsin classJepTest- Throws:
Exception
-
testEvaluate
@Disabled("testFunctions not defined for BigDecimal") @Test public void testEvaluate() throws ExceptionDescription copied from class:JepTestTests theevaluate()method.- Overrides:
testEvaluatein classJepTest- Throws:
Exception
-
testFunction
@Disabled("testFunctions not defined for BigDecimal") @Test public void testFunction() throws Exception- Overrides:
testFunctionin classJepTest- Throws:
Exception
-
testLazyLogical
@Disabled("testLazyLogical not defined for BigDecimal") @Test public void testLazyLogical() throws Exception- Overrides:
testLazyLogicalin classJepTest- Throws:
Exception
-
testLazyLogical2
@Disabled("testLazyLogical2 not defined for BigDecimal") @Test public void testLazyLogical2() throws Exception- Overrides:
testLazyLogical2in classJepTest- Throws:
Exception
-
testLazyLogicalBug
@Disabled("testLazyLogicalBug not defined for BigDecimal") @Test public void testLazyLogicalBug() throws ExceptionDescription copied from class:JepTestTest for bug with 1&&1&&1- Overrides:
testLazyLogicalBugin classJepTest- Throws:
Exception
-
testListAccess
@Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListAccess() throws Exception- Overrides:
testListAccessin classJepTest- Throws:
Exception
-
testListOperations
@Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListOperations() throws Exception- Overrides:
testListOperationsin classJepTest- Throws:
Exception
-
testMultiDimArray
@Disabled("Operations on Lists not defined for BigDecimal") @Test public void testMultiDimArray() throws Exception- Overrides:
testMultiDimArrayin classJepTest- Throws:
Exception
-
testMultiDimArrayShiftZero
@Disabled("Operations on Lists not defined for BigDecimal") @Test public void testMultiDimArrayShiftZero() throws Exception- Overrides:
testMultiDimArrayShiftZeroin classJepTest- Throws:
Exception
-
testListAccessShiftZero
@Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListAccessShiftZero() throws Exception- Overrides:
testListAccessShiftZeroin classJepTest- Throws:
Exception
-
testListFunctions
@Disabled("Functions on Lists not defined for BigDecimal") @Test public void testListFunctions() throws Exception- Overrides:
testListFunctionsin classJepTest- Throws:
Exception
-
testLogarithm
@Disabled("Logartihmic functions not defined for BigDecimal") @Test public void testLogarithm() throws Exception- Overrides:
testLogarithmin classJepTest- Throws:
Exception
-
testNaN
-
testStrings
@Disabled("String operations not defined for BigDecimal") @Test public void testStrings() throws Exception- Overrides:
testStringsin classJepTest- Throws:
Exception
-
testStringsFun
@Disabled("String operations not defined for BigDecimal") @Test public void testStringsFun() throws Exception- Overrides:
testStringsFunin classJepTest- Throws:
Exception
-
testMacroFunction
@Disabled("MacroFunction tests not defined for BigDecimal") @Test public void testMacroFunction() throws Exception- Overrides:
testMacroFunctionin classJepTest- Throws:
Exception
-
testRecursiveMacroFunction
@Disabled("MacroFunction tests not defined for BigDecimal") @Test public void testRecursiveMacroFunction() throws Exception- Overrides:
testRecursiveMacroFunctionin classJepTest- Throws:
Exception
-
testUminusPower
@Disabled("Negative powers not defined for BigDecimal") @Test public void testUminusPower() throws Exception- Overrides:
testUminusPowerin classJepTest- Throws:
Exception
-
testNumbers
- Overrides:
testNumbersin classJepTest- Throws:
Exception
-