Class ComplexFieldTest


  • public class ComplexFieldTest
    extends FieldTest
    • Constructor Detail

      • ComplexFieldTest

        public ComplexFieldTest()
    • Method Detail

      • setUp

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

        protected void valueTest​(java.lang.String expr,
                                 double a,
                                 double tol)
                          throws java.lang.Exception
        Description copied from class: JepTest
        Test values to within a given precision
        Overrides:
        valueTest in class JepTest
        Parameters:
        expr - expression
        a - the expected value
        tol - tolerance
        Throws:
        java.lang.Exception
      • myAssertNaN

        protected void myAssertNaN​(java.lang.String msg,
                                   java.lang.Object actual)
        Overrides:
        myAssertNaN in class JepTest
      • testCaseString

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

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

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

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

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

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

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

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

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

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

        public void testEvaluate()
                          throws java.lang.Exception
        Description copied from class: JepTest
        Tests the evaluate() method.
        Overrides:
        testEvaluate in class JepTest
        Throws:
        java.lang.Exception
      • testFormat

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

        public void testLazyLogicalBug()
                                throws java.lang.Exception
        Description copied from class: JepTest
        Test for bug with 1&&1&&1
        Overrides:
        testLazyLogicalBug in class JepTest
        Throws:
        java.lang.Exception
      • testLazyLogical

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

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

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

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

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

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

        public void testAllFun()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testComplexFunctionTable

        public void testComplexFunctionTable()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception