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, testMultiDimArray
assertEqNodes, 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, valueTestString
public void setUp()
JepTest
protected void valueTest(java.lang.String expr, java.lang.Object expected) throws java.lang.Exception
JepTest
protected void myAssertEquals(java.lang.String msg, java.lang.Object expected, java.lang.Object actual) throws EvaluationException
myAssertEquals
in class JepTest
EvaluationException
public void testChangeVariableComplex() throws java.lang.Exception
JepTest
testChangeVariableComplex
in class JepTest
java.lang.Exception
public void testStrings() throws java.lang.Exception
testStrings
in class JepTest
java.lang.Exception
public void testStringsFun() throws java.lang.Exception
testStringsFun
in class JepTest
java.lang.Exception
public void testComplex() throws java.lang.Exception
testComplex
in class JepTest
java.lang.Exception
public void testCaseString() throws java.lang.Exception
testCaseString
in class JepTest
java.lang.Exception
public void testAllFun() throws java.lang.Exception
java.lang.Exception
public void testRationalFunctionTable() throws java.lang.Exception
java.lang.Exception
public void testNaN() throws java.lang.Exception
public void testX2Y() throws java.lang.Exception
public void testSpecialFunctions() throws java.lang.Exception
testSpecialFunctions
in class JepTest
java.lang.Exception
public void testFormat() throws java.lang.Exception
testFormat
in class JepTest
java.lang.Exception
public void testSwitch() throws java.lang.Exception
testSwitch
in class JepTest
java.lang.Exception
public void testNumbers() throws java.lang.Exception
testNumbers
in class JepTest
java.lang.Exception
public void testFunction() throws java.lang.Exception
testFunction
in class JepTest
java.lang.Exception
public void testMacroFunction() throws java.lang.Exception
testMacroFunction
in class JepTest
java.lang.Exception
public void testRecursiveMacroFunction() throws java.lang.Exception
testRecursiveMacroFunction
in class JepTest
java.lang.Exception
public void testCaseNull() throws java.lang.Exception
testCaseNull
in class JepTest
java.lang.Exception
public void testEvaluate() throws java.lang.Exception
JepTest
testEvaluate
in class JepTest
java.lang.Exception
public void testUminusPower() throws java.lang.Exception
testUminusPower
in class JepTest
java.lang.Exception
public void testLazyLogicalBug() throws java.lang.Exception
JepTest
testLazyLogicalBug
in class JepTest
java.lang.Exception
public void testLazyLogical() throws java.lang.Exception
testLazyLogical
in class JepTest
java.lang.Exception
public void testNumberAsBooleanLogical() throws java.lang.Exception
testNumberAsBooleanLogical
in class JepTest
java.lang.Exception
public void testNumParam() throws java.lang.Exception
testNumParam
in class JepTest
java.lang.Exception
public void testLogarithm() throws java.lang.Exception
testLogarithm
in class JepTest
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep