Class XJepDualTest


  • public class XJepDualTest
    extends JepTest
    Test with two different assignment operators
    • Field Detail

      • xj

        protected XJep xj
    • Constructor Detail

      • XJepDualTest

        public XJepDualTest()
    • Method Detail

      • setUp

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

        public void testOperatorTable()
      • testVarHasEquation

        public void testVarHasEquation()
                                throws JepException
        Test changed in extension 2.1. Setting a variable with z=5 does not clear the equation.
        Throws:
        JepException
      • parsePreprocSimp

        public java.lang.String parsePreprocSimp​(java.lang.String expr)
                                          throws JepException
        Throws:
        JepException
      • processCleanTestString

        public void processCleanTestString​(java.lang.String expr,
                                           java.lang.String expected)
                                    throws JepException
        Parse, process, cleans expr test equal to expected
        Parameters:
        expr -
        expected -
        Throws:
        JepException
      • cleanerTest

        public void cleanerTest​(java.lang.String expr,
                                java.lang.String expected)
                         throws JepException
        parses, processes and cleans both expression, tests toString are equals
        Parameters:
        expr -
        expected -
        Throws:
        JepException
      • parseProcCleanEval

        public Node parseProcCleanEval​(java.lang.String expr,
                                       java.lang.Object expected)
                                throws ParseException,
                                       java.lang.Exception
        Parse, process, clean and evaluated tests equal to expected
        Parameters:
        expr -
        expected -
        Returns:
        Throws:
        ParseException
        java.lang.Exception
      • testLogical

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

        public void testVariableReuse()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFormat

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

        public void testVarInEqn()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTreeBuild

        public void testTreeBuild()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSub

        public void testSub()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNull

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

        public void testSymbolicAssign()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testBad

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