Package com.singularsys.exttests.field
Class ComplexFieldTest
java.lang.Object
com.singularsys.jeptests.system.JepTest
com.singularsys.exttests.field.FieldTest
com.singularsys.exttests.field.ComplexFieldTest
Tests for the
ComplexField.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassNested classes/interfaces inherited from class com.singularsys.jeptests.system.JepTest
JepTest.AddFractionsNary, JepTest.AddFractionsStack, JepTest.Diff, JepTest.MyBinary, JepTest.MyNary, JepTest.MyNaryBinary, JepTest.MyNullary, JepTest.MyUnary, JepTest.PiFun, JepTest.Product, JepTest.Square -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectCreate a number of the appropriate typevoidmyAssertEquals(String msg, Object expected, Object actual) protected voidmyAssertNaN(String msg, Object actual) voidsetUp()Sets up the parser.voidvoidvoidvoidvoidvoidvoidTests theevaluate()method.voidvoidvoidvoidtestIf()voidvoidTest for bug with 1&&1&&1voidvoidvoidtestNaN()voidvoidvoidvoidvoidvoidprotected voidTest values to within a given precisionMethods inherited from class com.singularsys.exttests.field.FieldTest
setShiftZeroElePfmc, testComplexListAccess, testIllegalCalc, testListAccess, testListAccessShiftZero, testListExtra, testListFunctions, testListOperations, testMultiDimArray, testMultiDimArrayShiftZeroMethods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertNull, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, test_adding_existing_constant_fails, test_parser_sets_parent, testAssign, testBlankParser, testChangeVariable, testChangeVariableComplex, testComments, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testImplicitMul, testLazyLogical2, testMacroFunction, testMultiLine, testMultiplyBug, testNoAssign, testNull, testNumbers, testNumParam, testParseException, testPlusPlus, testSemiColon, testSetAllowUndeclared, testSimpleSum, testSpecialFunctions, testUminusPower, testX2Y, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS
-
-
Constructor Details
-
ComplexFieldTest
public ComplexFieldTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp()Description copied from class:JepTestSets up the parser. -
getNumber
Description copied from class:JepTestCreate a number of the appropriate type -
myAssertEquals
- Overrides:
myAssertEqualsin classJepTest- Throws:
EvaluationException
-
valueTest
Description copied from class:JepTestTest values to within a given precision -
myAssertNaN
- Overrides:
myAssertNaNin classJepTest
-
testFieldBinomial
@Disabled("Null test as no notion of comparison for complex") @Test public void testFieldBinomial()- Overrides:
testFieldBinomialin classFieldTest
-
testBinom
@Disabled("Null test as no notion of comparison for complex") @Test public void testBinom() -
testCaseString
@Disabled("String test not relevant complexField") @Test public void testCaseString()- Overrides:
testCaseStringin classJepTest
-
testNaN
-
testComplex
- Overrides:
testComplexin classJepTest- Throws:
Exception
-
test_not_X_Y
@Disabled("Logical tests not relevant for complexField") @Test public void test_not_X_Y()- Overrides:
test_not_X_Yin classJepTest
-
testIf
-
testLogical
@Disabled("Logical tests not relevant for complexField") @Test public void testLogical()- Overrides:
testLogicalin classJepTest
-
testNumberAsBooleanLogical
@Disabled("Logical tests not relevant for complexField") public void testNumberAsBooleanLogical()- Overrides:
testNumberAsBooleanLogicalin classJepTest
-
testCaseNull
@Disabled("Null tests not relevant for complexField") @Test public void testCaseNull()- Overrides:
testCaseNullin classJepTest
-
testLogarithm
@Disabled("Logarithm tests require explicit test for double values") @Test public void testLogarithm()- Overrides:
testLogarithmin classJepTest
-
testRecursiveMacroFunction
@Disabled("Requires comparison") @Test public void testRecursiveMacroFunction()- Overrides:
testRecursiveMacroFunctionin classJepTest
-
testEvaluate
Description copied from class:JepTestTests theevaluate()method.- Overrides:
testEvaluatein classJepTest- Throws:
Exception
-
testFormat
@Disabled("Formats different for ComplexFields") @Test public void testFormat()- Overrides:
testFormatin classJepTest
-
testLazyLogicalBug
@Disabled("Logical operations not relevant for complex values") @Test public void testLazyLogicalBug()Description copied from class:JepTestTest for bug with 1&&1&&1- Overrides:
testLazyLogicalBugin classJepTest
-
testLazyLogical
@Disabled("Logical operations not relevant for complex values") @Test public void testLazyLogical()- Overrides:
testLazyLogicalin classJepTest
-
testSwitch
@Disabled("Comparison operations not relevant for complex values") @Test public void testSwitch()- Overrides:
testSwitchin classJepTest
-
testStringsFun
@Disabled("String test not relevant for complex values") @Test public void testStringsFun()- Overrides:
testStringsFunin classJepTest
-
testStrings
@Disabled("String test not relevant for complex values") @Test public void testStrings()- Overrides:
testStringsin classJepTest
-
testFunction
@Disabled("Test requires explicit comparison of double values") @Test public void testFunction()- Overrides:
testFunctionin classJepTest
-
testSpecialFunctions
@Disabled("Special functions use double values, might need to rework") @Test public void testSpecialFunctions()- Overrides:
testSpecialFunctionsin classJepTest
-
testAllFun
@Test public void testAllFun()
-