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, valueTestString
public void setUp()
JepTest
public void testBitwise() throws java.lang.Exception
java.lang.Exception
public void testTernary() throws java.lang.Exception
java.lang.Exception
public void testComplex() throws java.lang.Exception
testComplex
in class JepTest
java.lang.Exception
public void testFunction() throws java.lang.Exception
testFunction
in class JepTest
java.lang.Exception
public void testPlusPlus() throws java.lang.Exception
testPlusPlus
in class JepTest
java.lang.Exception
public void testIncrement() throws java.lang.Exception
java.lang.Exception
public void testOpEquals() throws java.lang.Exception
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 testLazyLogical() throws java.lang.Exception
testLazyLogical
in class JepTest
java.lang.Exception
public void testLazyLogical2() throws java.lang.Exception
testLazyLogical2
in class JepTest
java.lang.Exception
public void testNumParam() throws java.lang.Exception
testNumParam
in class JepTest
java.lang.Exception
public void testX2Y() throws java.lang.Exception
public void testStrings() throws java.lang.Exception
testStrings
in class JepTest
java.lang.Exception
public void testUpperCaseOperator() throws java.lang.Exception
java.lang.Exception
public void testParseException()
JepTest
testParseException
in class JepTest
public void testIfThenElse() throws java.lang.Exception
java.lang.Exception
public void testOverlappingNames() throws java.lang.Exception
java.lang.Exception
public void test2010_03_01() throws java.lang.Exception
java.lang.Exception
public void testLazyLogicalBug() throws java.lang.Exception
JepTest
testLazyLogicalBug
in class JepTest
java.lang.Exception
public void testElementOf() throws java.lang.Exception
java.lang.Exception
ElementOf
public void testToBase() throws java.lang.Exception
public void testPercent() throws java.lang.Exception
java.lang.Exception
ExtendedOperatorSet
public void testFactorial() throws java.lang.Exception
java.lang.Exception
Factorial
public void testSuffix() throws java.lang.Exception
java.lang.Exception
public void testAlternateSymbols() throws java.lang.Exception
java.lang.Exception
public void testSingleArgFun() throws java.lang.Exception
java.lang.Exception
SingleArgFunctionMatcher
public void testNoComplex() throws JepException
JepException
public void testRealConfig() throws JepException
JepException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep