Class RealEvalTest


  • public class RealEvalTest
    extends CPTest
    • Constructor Detail

      • RealEvalTest

        public RealEvalTest()
    • Method Detail

      • setUp

        public void setUp()
        Description copied from class: JepTest
        Sets up the parser.
        Overrides:
        setUp in class CPTest
      • valueTest

        protected void valueTest​(java.lang.String expr,
                                 java.lang.Object expected)
                          throws java.lang.Exception
        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:
        java.lang.Exception
      • testEvaluateComplex

        public void testEvaluateComplex()
                                 throws java.lang.Exception
        Overrides:
        testEvaluateComplex in class JepTest
        Throws:
        java.lang.Exception
      • testEvaluateString

        public void testEvaluateString()
                                throws java.lang.Exception
        Overrides:
        testEvaluateString in class JepTest
        Throws:
        java.lang.Exception
      • testComplex

        public void testComplex()
                         throws java.lang.Exception
        Overrides:
        testComplex in class JepTest
        Throws:
        java.lang.Exception
      • testChangeVariableComplex

        public void testChangeVariableComplex()
        Description copied from class: JepTest
        Test changing variables value after parsing
        Overrides:
        testChangeVariableComplex in class JepTest
      • testListAccess

        public void testListAccess()
                            throws java.lang.Exception
        Overrides:
        testListAccess in class JepTest
        Throws:
        java.lang.Exception
      • testListAccessShiftZero

        public void testListAccessShiftZero()
                                     throws java.lang.Exception
        Overrides:
        testListAccessShiftZero in class JepTest
        Throws:
        java.lang.Exception
      • testListFunctions

        public void testListFunctions()
                               throws java.lang.Exception
        Overrides:
        testListFunctions in class JepTest
        Throws:
        java.lang.Exception
      • testListExtra

        public void testListExtra()
                           throws java.lang.Exception
        Overrides:
        testListExtra in class JepTest
        Throws:
        java.lang.Exception
      • testMultiDimArray

        public void testMultiDimArray()
                               throws java.lang.Exception
        Overrides:
        testMultiDimArray in class JepTest
        Throws:
        java.lang.Exception
      • testMultiDimArrayAccess

        public void testMultiDimArrayAccess()
                                     throws java.lang.Exception
        Overrides:
        testMultiDimArrayAccess in class CPTest
        Throws:
        java.lang.Exception
      • testDepth3ArrayAccess

        public void testDepth3ArrayAccess()
                                   throws java.lang.Exception
        Overrides:
        testDepth3ArrayAccess in class CPTest
        Throws:
        java.lang.Exception
      • testMultiDimArrayShiftZero

        public void testMultiDimArrayShiftZero()
                                        throws java.lang.Exception
        Overrides:
        testMultiDimArrayShiftZero in class JepTest
        Throws:
        java.lang.Exception
      • testMultiDimArrayAccessShiftZero

        public void testMultiDimArrayAccessShiftZero()
                                              throws java.lang.Exception
        Overrides:
        testMultiDimArrayAccessShiftZero in class CPTest
        Throws:
        java.lang.Exception
      • testDepth3ArrayAccessShiftZero

        public void testDepth3ArrayAccessShiftZero()
                                            throws java.lang.Exception
        Overrides:
        testDepth3ArrayAccessShiftZero in class CPTest
        Throws:
        java.lang.Exception
      • testStrings

        public void testStrings()
                         throws java.lang.Exception
        Overrides:
        testStrings in class JepTest
        Throws:
        java.lang.Exception
      • testStringsFun

        public void testStringsFun()
                            throws java.lang.Exception
        Overrides:
        testStringsFun in class JepTest
        Throws:
        java.lang.Exception
      • testCPStrings

        public void testCPStrings()
                           throws java.lang.Exception
        Overrides:
        testCPStrings in class CPTest
        Throws:
        java.lang.Exception
      • testCaseString

        public void testCaseString()
                            throws java.lang.Exception
        Overrides:
        testCaseString in class JepTest
        Throws:
        java.lang.Exception
      • testCaseNull

        public void testCaseNull()
                          throws java.lang.Exception
        Overrides:
        testCaseNull in class JepTest
        Throws:
        java.lang.Exception
      • testSpecialFunctions

        public void testSpecialFunctions()
                                  throws java.lang.Exception
        Overrides:
        testSpecialFunctions in class JepTest
        Throws:
        java.lang.Exception
      • testComplexListAccess

        public void testComplexListAccess()
                                   throws java.lang.Exception
        Overrides:
        testComplexListAccess in class JepTest
        Throws:
        java.lang.Exception