Class ExtExpressionEvalTest


  • public class ExtExpressionEvalTest
    extends ExpressionEvalTest
    This class is designed for testing the validity of Jep evaluations. Expressions from a text file are evaluated with Jep in pairs of two, and the results are compared. If they do not match, the two expressions are printed to standard output.

    Take for example an input text file containing the two lines

    1+2
    3.
    The expressions '1+2' and '3' are evaluated with Jep and the results compared.
    Author:
    Nathan Funk
    • Constructor Detail

      • ExtExpressionEvalTest

        public ExtExpressionEvalTest()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The main method checks the arguments and creates an instance and runs a test
      • testRpEval

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