Package com.singularsys.jeptests.system

# Class BigDecimalStandardTests

java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.jeptests.system.BigDecimalStandardTests

@Tag("big-decimals") public class BigDecimalStandardTests extends JepTest
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
  Constructor
  Description
  `BigDecimalStandardTests()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Object`
  `buildMatrix(Object[]... eles)`
  `protected Object`
  `buildVector(Object... eles)`
  `protected Object`
  `getNumber(Object val)`
  Create a number of the appropriate type
  `void`
  `setUp()`
  Sets up the parser.
  `void`
  `testBinom()`
  `void`
  `testComplex()`
  `void`
  `testComplexListAccess()`
  `void`
  `testEvaluate()`
  Tests the `evaluate()` method.
  `void`
  `testEvaluateComplex()`
  `void`
  `testFunction()`
  `void`
  `testLazyLogical()`
  `void`
  `testLazyLogical2()`
  `void`
  `testLazyLogicalBug()`
  Test for bug with 1&&1&&1
  `void`
  `testListAccess()`
  `void`
  `testListAccessShiftZero()`
  `void`
  `testListFunctions()`
  `void`
  `testListOperations()`
  `void`
  `testLogarithm()`
  `void`
  `testMacroFunction()`
  `void`
  `testMultiDimArray()`
  `void`
  `testMultiDimArrayShiftZero()`
  `void`
  `testNaN()`
  `void`
  `testNumbers()`
  `void`
  `testRecursiveMacroFunction()`
  `void`
  `testSpecialFunctions()`
  `void`
  `testStrings()`
  `void`
  `testStringsFun()`
  `void`
  `testUminusPower()`
  `protected void`
  `valueTest(String expr, Object expected)`
  Test 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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BigDecimalStandardTests

    public BigDecimalStandardTests()

- ## Method Details

  - ### setUp

    @BeforeEach public void setUp()
    Description copied from class: `JepTest`
    Sets up the parser.
    Overrides:
      `setUp` in class `JepTest`

  - ### getNumber

    protected Object getNumber(Object val)
    Description copied from class: `JepTest`
    Create a number of the appropriate type
    Overrides:
      `getNumber` in class `JepTest`
    Parameters:
      `val` - input
    Returns:
      converted number

  - ### buildMatrix

    protected Object buildMatrix(Object[]... eles) throws Exception
    Overrides:
      `buildMatrix` in class `JepTest`
    Throws:
      `Exception`

  - ### buildVector

    protected Object buildVector(Object... eles) throws Exception
    Overrides:
      `buildVector` in class `JepTest`
    Throws:
      `Exception`

  - ### valueTest

    protected void valueTest(String expr, Object expected) throws JepException
    Description copied from class: `JepTest`
    Test result j.evaluate(j.parse(expr))
    Overrides:
      `valueTest` in class `JepTest`
    Parameters:
      `expr` - the expression to parse and evaluate
      `expected` - result expected
    Throws:
      `JepException`

  - ### testComplex

    @Disabled("Complex Tests not run for BigDecimal") @Test public void testComplex() throws Exception
    Overrides:
      `testComplex` in class `JepTest`
    Throws:
      `Exception`

  - ### testComplexListAccess

    @Disabled("Complex Tests not run for BigDecimal") @Test public void testComplexListAccess() throws Exception
    Overrides:
      `testComplexListAccess` in class `JepTest`
    Throws:
      `Exception`

  - ### testEvaluateComplex

    @Disabled("Complex Tests not run for BigDecimal") @Test public void testEvaluateComplex() throws Exception
    Overrides:
      `testEvaluateComplex` in class `JepTest`
    Throws:
      `Exception`

  - ### testBinom

    @Disabled("binom not defined for BigDecimal") @Test public void testBinom() throws Exception
    Overrides:
      `testBinom` in class `JepTest`
    Throws:
      `Exception`

  - ### testSpecialFunctions

    @Disabled("testSpecialFunctions not defined for BigDecimal") @Test public void testSpecialFunctions() throws Exception
    Overrides:
      `testSpecialFunctions` in class `JepTest`
    Throws:
      `Exception`

  - ### testEvaluate

    @Disabled("testFunctions not defined for BigDecimal") @Test public void testEvaluate() throws Exception
    Description copied from class: `JepTest`
    Tests the `evaluate()` method.
    Overrides:
      `testEvaluate` in class `JepTest`
    Throws:
      `Exception`

  - ### testFunction

    @Disabled("testFunctions not defined for BigDecimal") @Test public void testFunction() throws Exception
    Overrides:
      `testFunction` in class `JepTest`
    Throws:
      `Exception`

  - ### testLazyLogical

    @Disabled("testLazyLogical not defined for BigDecimal") @Test public void testLazyLogical() throws Exception
    Overrides:
      `testLazyLogical` in class `JepTest`
    Throws:
      `Exception`

  - ### testLazyLogical2

    @Disabled("testLazyLogical2 not defined for BigDecimal") @Test public void testLazyLogical2() throws Exception
    Overrides:
      `testLazyLogical2` in class `JepTest`
    Throws:
      `Exception`

  - ### testLazyLogicalBug

    @Disabled("testLazyLogicalBug not defined for BigDecimal") @Test public void testLazyLogicalBug() throws Exception
    Description copied from class: `JepTest`
    Test for bug with 1&&1&&1
    Overrides:
      `testLazyLogicalBug` in class `JepTest`
    Throws:
      `Exception`

  - ### testListAccess

    @Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListAccess() throws Exception
    Overrides:
      `testListAccess` in class `JepTest`
    Throws:
      `Exception`

  - ### testListOperations

    @Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListOperations() throws Exception
    Overrides:
      `testListOperations` in class `JepTest`
    Throws:
      `Exception`

  - ### testMultiDimArray

    @Disabled("Operations on Lists not defined for BigDecimal") @Test public void testMultiDimArray() throws Exception
    Overrides:
      `testMultiDimArray` in class `JepTest`
    Throws:
      `Exception`

  - ### testMultiDimArrayShiftZero

    @Disabled("Operations on Lists not defined for BigDecimal") @Test public void testMultiDimArrayShiftZero() throws Exception
    Overrides:
      `testMultiDimArrayShiftZero` in class `JepTest`
    Throws:
      `Exception`

  - ### testListAccessShiftZero

    @Disabled("Operations on Lists not defined for BigDecimal") @Test public void testListAccessShiftZero() throws Exception
    Overrides:
      `testListAccessShiftZero` in class `JepTest`
    Throws:
      `Exception`

  - ### testListFunctions

    @Disabled("Functions on Lists not defined for BigDecimal") @Test public void testListFunctions() throws Exception
    Overrides:
      `testListFunctions` in class `JepTest`
    Throws:
      `Exception`

  - ### testLogarithm

    @Disabled("Logartihmic functions not defined for BigDecimal") @Test public void testLogarithm() throws Exception
    Overrides:
      `testLogarithm` in class `JepTest`
    Throws:
      `Exception`

  - ### testNaN

    @Disabled("NaN values not defined for BigDecimal") @Test public void testNaN() throws Exception
    Overrides:
      `testNaN` in class `JepTest`
    Throws:
      `Exception`

  - ### testStrings

    @Disabled("String operations not defined for BigDecimal") @Test public void testStrings() throws Exception
    Overrides:
      `testStrings` in class `JepTest`
    Throws:
      `Exception`

  - ### testStringsFun

    @Disabled("String operations not defined for BigDecimal") @Test public void testStringsFun() throws Exception
    Overrides:
      `testStringsFun` in class `JepTest`
    Throws:
      `Exception`

  - ### testMacroFunction

    @Disabled("MacroFunction tests not defined for BigDecimal") @Test public void testMacroFunction() throws Exception
    Overrides:
      `testMacroFunction` in class `JepTest`
    Throws:
      `Exception`

  - ### testRecursiveMacroFunction

    @Disabled("MacroFunction tests not defined for BigDecimal") @Test public void testRecursiveMacroFunction() throws Exception
    Overrides:
      `testRecursiveMacroFunction` in class `JepTest`
    Throws:
      `Exception`

  - ### testUminusPower

    @Disabled("Negative powers not defined for BigDecimal") @Test public void testUminusPower() throws Exception
    Overrides:
      `testUminusPower` in class `JepTest`
    Throws:
      `Exception`

  - ### testNumbers

    @Test public void testNumbers() throws Exception
    Overrides:
      `testNumbers` in class `JepTest`
    Throws:
      `Exception`