Class ExtExpressionEvalTest

java.lang.Object
com.singularsys.jeptests.system.ExpressionEvalTest
com.singularsys.exttests.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
  • Field Details

  • Constructor Details

    • ExtExpressionEvalTest

      public ExtExpressionEvalTest()
  • Method Details

    • main

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

      @Test public void testRpEval() throws Exception
      Throws:
      Exception