public class RationalFieldTest extends FieldTest
jep, myFalse, myTrue, PRINT_RESULTS| Constructor and Description |
|---|
RationalFieldTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
myAssertEquals(java.lang.String msg,
java.lang.Object expected,
java.lang.Object actual) |
void |
setUp()
Sets up the parser.
|
void |
testAllFun() |
void |
testCaseNull() |
void |
testCaseString() |
void |
testChangeVariableComplex()
Test changing variables value after parsing
|
void |
testComplex() |
void |
testEvaluate()
Tests the evaluate() method.
|
void |
testFormat() |
void |
testFunction() |
void |
testIf() |
void |
testLazyLogical() |
void |
testLazyLogicalBug()
Test for bug with 1&&1&&1
|
void |
testLogarithm() |
void |
testMacroFunction() |
void |
testNaN() |
void |
testNumberAsBooleanLogical() |
void |
testNumbers() |
void |
testNumParam() |
void |
testRationalFunctionTable() |
void |
testRecursiveMacroFunction() |
void |
testSpecialFunctions() |
void |
testStrings() |
void |
testStringsFun() |
void |
testSwitch() |
void |
testUminusPower() |
void |
testX2Y() |
protected void |
valueTest(java.lang.String expr,
java.lang.Object expected)
Test result j.evaluate(j.parse(expr))
|
testFieldBinomial, testIllegalCalc, testListAccess, testListExtra, testListFunctions, testMultiDimArrayassertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testChangeVariable, testComments, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testImplicitMul, testLazyLogical2, testLogical, testMultiLine, testMultiplyBug, testNoAssign, testNull, testParseException, testPlusPlus, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestStringpublic void setUp()
JepTestprotected void valueTest(java.lang.String expr,
java.lang.Object expected)
throws java.lang.Exception
JepTestprotected void myAssertEquals(java.lang.String msg,
java.lang.Object expected,
java.lang.Object actual)
throws EvaluationException
myAssertEquals in class JepTestEvaluationExceptionpublic void testChangeVariableComplex()
throws java.lang.Exception
JepTesttestChangeVariableComplex in class JepTestjava.lang.Exceptionpublic void testStrings()
throws java.lang.Exception
testStrings in class JepTestjava.lang.Exceptionpublic void testStringsFun()
throws java.lang.Exception
testStringsFun in class JepTestjava.lang.Exceptionpublic void testComplex()
throws java.lang.Exception
testComplex in class JepTestjava.lang.Exceptionpublic void testCaseString()
throws java.lang.Exception
testCaseString in class JepTestjava.lang.Exceptionpublic void testAllFun()
throws java.lang.Exception
java.lang.Exceptionpublic void testRationalFunctionTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testNaN()
throws java.lang.Exception
public void testX2Y()
throws java.lang.Exception
public void testSpecialFunctions()
throws java.lang.Exception
testSpecialFunctions in class JepTestjava.lang.Exceptionpublic void testFormat()
throws java.lang.Exception
testFormat in class JepTestjava.lang.Exceptionpublic void testSwitch()
throws java.lang.Exception
testSwitch in class JepTestjava.lang.Exceptionpublic void testNumbers()
throws java.lang.Exception
testNumbers in class JepTestjava.lang.Exceptionpublic void testFunction()
throws java.lang.Exception
testFunction in class JepTestjava.lang.Exceptionpublic void testMacroFunction()
throws java.lang.Exception
testMacroFunction in class JepTestjava.lang.Exceptionpublic void testRecursiveMacroFunction()
throws java.lang.Exception
testRecursiveMacroFunction in class JepTestjava.lang.Exceptionpublic void testCaseNull()
throws java.lang.Exception
testCaseNull in class JepTestjava.lang.Exceptionpublic void testEvaluate()
throws java.lang.Exception
JepTesttestEvaluate in class JepTestjava.lang.Exceptionpublic void testUminusPower()
throws java.lang.Exception
testUminusPower in class JepTestjava.lang.Exceptionpublic void testLazyLogicalBug()
throws java.lang.Exception
JepTesttestLazyLogicalBug in class JepTestjava.lang.Exceptionpublic void testLazyLogical()
throws java.lang.Exception
testLazyLogical in class JepTestjava.lang.Exceptionpublic void testNumberAsBooleanLogical()
throws java.lang.Exception
testNumberAsBooleanLogical in class JepTestjava.lang.Exceptionpublic void testNumParam()
throws java.lang.Exception
testNumParam in class JepTestjava.lang.Exceptionpublic void testLogarithm()
throws java.lang.Exception
testLogarithm in class JepTestjava.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep