Package com.singularsys.jeptests.system

# Class JepTestWithCustomNumberType

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

public class JepTestWithCustomNumberType extends JepTest
JepTests using a ccustom number type.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `JepTestWithCustomNumberType.MyNumber`
  A 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
  Constructor
  Description
  `JepTestWithCustomNumberType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Object`
  `getNumber(Object val)`
  Create a number of the appropriate type
  `protected void`
  `myAssertEquals(String msg, Object expected, Object actual)`
  `void`
  `setUp()`
  Sets up the parser.
  `void`
  `testComplexListAccess()`
  `void`
  `testEvaluate()`
  Tests the `evaluate()` method.
  `void`
  `testFormat()`
  `void`
  `testListAccessShiftZero()`
  `void`
  `testListFunctions()`
  `void`
  `testListOperations()`
  `void`
  `testMultiDimArray()`
  `void`
  `testMultiDimArrayShiftZero()`
  `void`
  `testSpecialFunctions()`

  ### 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`

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

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

- ## Constructor Details

  - ### JepTestWithCustomNumberType

    public JepTestWithCustomNumberType()

- ## 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

  - ### myAssertEquals

    protected void myAssertEquals(String msg, Object expected, Object actual) throws EvaluationException
    Overrides:
      `myAssertEquals` in class `JepTest`
    Throws:
      `EvaluationException`

  - ### testListOperations

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

  - ### testMultiDimArray

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

  - ### testMultiDimArrayShiftZero

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

  - ### testListAccessShiftZero

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

  - ### testListFunctions

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

  - ### testSpecialFunctions

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

  - ### testComplexListAccess

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

  - ### testEvaluate

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

  - ### testFormat

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