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, testMultiDimArrayassertEqNodes, 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, valueTestStringpublic void setUp()
JepTestpublic void myAssertEquals(java.lang.String msg,
java.lang.Object expected,
java.lang.Object actual)
throws EvaluationException
myAssertEquals in class JepTestEvaluationExceptionprotected void valueTest(java.lang.String expr,
double a,
double tol)
throws java.lang.Exception
JepTestprotected void myAssertNaN(java.lang.String msg,
java.lang.Object actual)
myAssertNaN in class JepTestpublic void testFieldBinomial()
throws JepException
testFieldBinomial in class FieldTestJepExceptionpublic void testCaseString()
throws java.lang.Exception
testCaseString in class JepTestjava.lang.Exceptionpublic void testNaN()
throws java.lang.Exception
public void testComplex()
throws java.lang.Exception
testComplex in class JepTestjava.lang.Exceptionpublic void testX2Y()
throws java.lang.Exception
public void testBinom()
throws ParseException,
java.lang.Exception
testBinom in class JepTestParseExceptionjava.lang.Exceptionpublic void testIf()
throws java.lang.Exception
public void testLogical()
throws java.lang.Exception
testLogical in class JepTestjava.lang.Exceptionpublic void testNumberAsBooleanLogical()
throws java.lang.Exception
testNumberAsBooleanLogical in class JepTestjava.lang.Exceptionpublic void testCaseNull()
throws java.lang.Exception
testCaseNull in class JepTestjava.lang.Exceptionpublic void testLogarithm()
throws java.lang.Exception
testLogarithm in class JepTestjava.lang.Exceptionpublic void testRecursiveMacroFunction()
throws java.lang.Exception
testRecursiveMacroFunction in class JepTestjava.lang.Exceptionpublic void testEvaluate()
throws java.lang.Exception
JepTesttestEvaluate in class JepTestjava.lang.Exceptionpublic void testFormat()
throws java.lang.Exception
testFormat 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 testSwitch()
throws java.lang.Exception
testSwitch in class JepTestjava.lang.Exceptionpublic void testStringsFun()
throws java.lang.Exception
testStringsFun in class JepTestjava.lang.Exceptionpublic void testStrings()
throws java.lang.Exception
testStrings in class JepTestjava.lang.Exceptionpublic void testFunction()
throws java.lang.Exception
testFunction in class JepTestjava.lang.Exceptionpublic void testSpecialFunctions()
throws java.lang.Exception
testSpecialFunctions in class JepTestjava.lang.Exceptionpublic void testAllFun()
throws java.lang.Exception
java.lang.Exceptionpublic void testComplexFunctionTable()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep