Package com.singularsys.exttests
Class ExtExpressionEvalTest
java.lang.Object
com.singularsys.jeptests.system.ExpressionEvalTest
com.singularsys.exttests.ExtExpressionEvalTest
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 Summary
FieldsFields inherited from class com.singularsys.jeptests.system.ExpressionEvalTest
lineCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe main method checks the arguments and creates an instance and runs a testvoidMethods inherited from class com.singularsys.jeptests.system.ExpressionEvalTest
println, testConfParser, testFast, testJepInstance, testJepInstance, testPostfixEvaluator, testReals, testStandard
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS
-
-
Constructor Details
-
ExtExpressionEvalTest
public ExtExpressionEvalTest()
-
-
Method Details
-
main
The main method checks the arguments and creates an instance and runs a test -
testRpEval
- Throws:
Exception
-