public class ComplexFieldTest extends FieldTest
jep, myFalse, myTrue, PRINT_RESULTS
Constructor and Description |
---|
ComplexFieldTest() |
Modifier and Type | Method and Description |
---|---|
void |
myAssertEquals(java.lang.String msg,
java.lang.Object expected,
java.lang.Object actual) |
protected void |
myAssertNaN(java.lang.String msg,
java.lang.Object actual) |
void |
setUp()
Sets up the parser.
|
void |
testAllFun() |
void |
testBinom() |
void |
testCaseNull() |
void |
testCaseString() |
void |
testComplex() |
void |
testComplexFunctionTable() |
void |
testEvaluate()
Tests the evaluate() method.
|
void |
testFieldBinomial()
Null test as no notion of comparrison for complex
|
void |
testFormat() |
void |
testFunction() |
void |
testIf() |
void |
testLazyLogical() |
void |
testLazyLogicalBug()
Test for bug with 1&&1&&1
|
void |
testLogarithm() |
void |
testLogical() |
void |
testNaN() |
void |
testNumberAsBooleanLogical() |
void |
testRecursiveMacroFunction() |
void |
testSpecialFunctions() |
void |
testStrings() |
void |
testStringsFun() |
void |
testSwitch() |
void |
testX2Y() |
protected void |
valueTest(java.lang.String expr,
double a,
double tol)
Test values to within a given precision
|
testIllegalCalc, testListAccess, testListExtra, testListFunctions, testMultiDimArray
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBlankParser, testChangeVariable, testChangeVariableComplex, testComments, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testImplicitMul, testLazyLogical2, testMacroFunction, testMultiLine, testMultiplyBug, testNoAssign, testNull, testNumbers, testNumParam, testParseException, testPlusPlus, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testUminusPower, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
public void setUp()
JepTest
public void myAssertEquals(java.lang.String msg, java.lang.Object expected, java.lang.Object actual) throws EvaluationException
myAssertEquals
in class JepTest
EvaluationException
protected void valueTest(java.lang.String expr, double a, double tol) throws java.lang.Exception
JepTest
protected void myAssertNaN(java.lang.String msg, java.lang.Object actual)
myAssertNaN
in class JepTest
public void testFieldBinomial() throws JepException
testFieldBinomial
in class FieldTest
JepException
public void testCaseString() throws java.lang.Exception
testCaseString
in class JepTest
java.lang.Exception
public void testNaN() throws java.lang.Exception
public void testComplex() throws java.lang.Exception
testComplex
in class JepTest
java.lang.Exception
public void testX2Y() throws java.lang.Exception
public void testBinom() throws ParseException, java.lang.Exception
testBinom
in class JepTest
ParseException
java.lang.Exception
public void testIf() throws java.lang.Exception
public void testLogical() throws java.lang.Exception
testLogical
in class JepTest
java.lang.Exception
public void testNumberAsBooleanLogical() throws java.lang.Exception
testNumberAsBooleanLogical
in class JepTest
java.lang.Exception
public void testCaseNull() throws java.lang.Exception
testCaseNull
in class JepTest
java.lang.Exception
public void testLogarithm() throws java.lang.Exception
testLogarithm
in class JepTest
java.lang.Exception
public void testRecursiveMacroFunction() throws java.lang.Exception
testRecursiveMacroFunction
in class JepTest
java.lang.Exception
public void testEvaluate() throws java.lang.Exception
JepTest
testEvaluate
in class JepTest
java.lang.Exception
public void testFormat() throws java.lang.Exception
testFormat
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 testSwitch() throws java.lang.Exception
testSwitch
in class JepTest
java.lang.Exception
public void testStringsFun() throws java.lang.Exception
testStringsFun
in class JepTest
java.lang.Exception
public void testStrings() throws java.lang.Exception
testStrings
in class JepTest
java.lang.Exception
public void testFunction() throws java.lang.Exception
testFunction
in class JepTest
java.lang.Exception
public void testSpecialFunctions() throws java.lang.Exception
testSpecialFunctions
in class JepTest
java.lang.Exception
public void testAllFun() throws java.lang.Exception
java.lang.Exception
public void testComplexFunctionTable() throws java.lang.Exception
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep