public class ExtendedParserTest extends JepTest
JavaOperatorTable| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedParserTest.InOperators |
jep, myFalse, myTrue, PRINT_RESULTS| Constructor and Description |
|---|
ExtendedParserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Sets up the parser.
|
void |
test2010_03_01() |
void |
testAlternateSymbols()
Tests for other symbols used.
|
void |
testBitwise() |
void |
testComplex()
Not implemented here
|
void |
testElementOf()
Tests operators and functions which test if an element is in array or list.
|
void |
testFactorial()
Test the suffix factorial operation
|
void |
testFunction()
Not implemented here
|
void |
testIfThenElse() |
void |
testIncrement() |
void |
testLazyLogical()
Not implemented here
|
void |
testLazyLogical2() |
void |
testLazyLogicalBug()
Test for bug with 1&&1&&1
|
void |
testLogical()
Not implemented here
|
void |
testNoComplex() |
void |
testNumberAsBooleanLogical() |
void |
testNumParam()
Not implemented here
|
void |
testOpEquals() |
void |
testOverlappingNames()
Tests if we have a conflict between OR and ORGANIZE
|
void |
testParseException()
Tests whether a parse exceptions are thrown when they should be.
|
void |
testPercent()
Tests the suffix % operation
|
void |
testPlusPlus()
Not implemented here
|
void |
testRealConfig() |
void |
testSingleArgFun()
Tests mathematical style "cos pi" functions without brackets.
|
void |
testStrings()
Not implemented here
|
void |
testSuffix()
Test a combination of suffix operations
|
void |
testTernary() |
void |
testToBase()
Test the various type conversion functions.
|
void |
testUpperCaseOperator()
Tests case-intensative operator names AND, And, and.
|
void |
testX2Y()
Not implemented here
|
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertEquals, myAssertNaN, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, testAssign, testBinom, testBlankParser, testCaseNull, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFormat, testIf, testImplicitMul, testListAccess, testListExtra, testListFunctions, testLogarithm, testMacroFunction, testMultiDimArray, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNull, testNumbers, testRecursiveMacroFunction, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testSpecialFunctions, testStringsFun, testSwitch, testUminusPower, valueTest, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestStringpublic void setUp()
JepTestpublic void testBitwise()
throws java.lang.Exception
java.lang.Exceptionpublic void testTernary()
throws java.lang.Exception
java.lang.Exceptionpublic void testComplex()
throws java.lang.Exception
testComplex in class JepTestjava.lang.Exceptionpublic void testFunction()
throws java.lang.Exception
testFunction in class JepTestjava.lang.Exceptionpublic void testPlusPlus()
throws java.lang.Exception
testPlusPlus in class JepTestjava.lang.Exceptionpublic void testIncrement()
throws java.lang.Exception
java.lang.Exceptionpublic void testOpEquals()
throws java.lang.Exception
java.lang.Exceptionpublic 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 testLazyLogical()
throws java.lang.Exception
testLazyLogical in class JepTestjava.lang.Exceptionpublic void testLazyLogical2()
throws java.lang.Exception
testLazyLogical2 in class JepTestjava.lang.Exceptionpublic void testNumParam()
throws java.lang.Exception
testNumParam in class JepTestjava.lang.Exceptionpublic void testX2Y()
throws java.lang.Exception
public void testStrings()
throws java.lang.Exception
testStrings in class JepTestjava.lang.Exceptionpublic void testUpperCaseOperator()
throws java.lang.Exception
java.lang.Exceptionpublic void testParseException()
JepTesttestParseException in class JepTestpublic void testIfThenElse()
throws java.lang.Exception
java.lang.Exceptionpublic void testOverlappingNames()
throws java.lang.Exception
java.lang.Exceptionpublic void test2010_03_01()
throws java.lang.Exception
java.lang.Exceptionpublic void testLazyLogicalBug()
throws java.lang.Exception
JepTesttestLazyLogicalBug in class JepTestjava.lang.Exceptionpublic void testElementOf()
throws java.lang.Exception
java.lang.ExceptionElementOfpublic void testToBase()
throws java.lang.Exception
public void testPercent()
throws java.lang.Exception
java.lang.ExceptionExtendedOperatorSetpublic void testFactorial()
throws java.lang.Exception
java.lang.ExceptionFactorialpublic void testSuffix()
throws java.lang.Exception
java.lang.Exceptionpublic void testAlternateSymbols()
throws java.lang.Exception
java.lang.Exceptionpublic void testSingleArgFun()
throws java.lang.Exception
java.lang.ExceptionSingleArgFunctionMatcherpublic void testNoComplex()
throws JepException
JepExceptionpublic void testRealConfig()
throws JepException
JepExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep