Package com.singularsys.exttests
Class LambdaFunTest
java.lang.Object
com.singularsys.exttests.LambdaFunTest
- Direct Known Subclasses:
MatrixLambdaFunTest
Tests for lambda package.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassTests using a complex fieldclassTests using a rational field -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Jepprotected Operatorprotected Class<?> protected ListProcessorprotected Class<?> static final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidsetUp(FunctionTable ft) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtest_GCD()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidCases which result withvoidvoidvoidvoidvoidvoidvoidvoidvoidtestFold()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestMap()voidvoidvoidvoidvoidvoidvoidtestMin()voidvoidvoidtestPi()voidvoidvoidvoidvoidvoidtestSort()voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS -
jep
-
lp
-
lambdaOp
-
ListType
-
MatrixType
-
-
Constructor Details
-
LambdaFunTest
public LambdaFunTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
setUp
- Throws:
Exception
-
test_anyMatch
- Throws:
Exception
-
test_primesBuilder
- Throws:
Exception
-
test_accumulate
- Throws:
Exception
-
test_distinct
- Throws:
Exception
-
test_nested_cartesian
- Throws:
Exception
-
test_cartesian
- Throws:
Exception
-
test_flatten
- Throws:
Exception
-
testMap
- Throws:
JepException
-
testFold
- Throws:
JepException
-
testReduce
- Throws:
JepException
-
testReduceNone
- Throws:
JepException
-
testFilter
- Throws:
JepException
-
testFilterBinaryLambda
- Throws:
JepException
-
testMapSin
- Throws:
JepException
-
testMapBinaryLambda
- Throws:
JepException
-
testSort
- Throws:
JepException
-
testMapSin2
- Throws:
JepException
-
testExternalMap_ToInt
- Throws:
JepException
-
testExernalFilter_NaN
- Throws:
JepException
-
testExernalFilter_PFMCNaN
- Throws:
JepException
-
testApply
- Throws:
JepException
-
testFoldMap
- Throws:
JepException
-
testListPasingWithDouble
- Throws:
JepException
-
testListPasingWithDoubleSingleEle
- Throws:
JepException
-
testRangeParsing
- Throws:
JepException
-
testFoldMapRange
- Throws:
JepException
-
testRecursiveLambda
- Throws:
JepException
-
testPi
- Throws:
JepException
-
testDefine
- Throws:
JepException
-
testDefineOperator
- Throws:
JepException
-
testDefineOverloadedOperator
- Throws:
JepException
-
testDefineOverloadedFunction
- Throws:
JepException
-
test_signature_errors
- Throws:
JepException
-
testMerge
- Throws:
JepException
-
testMergeShortL
- Throws:
JepException
-
testMergeShortR
- Throws:
JepException
-
testSort2
- Throws:
JepException
-
testCalcE
- Throws:
JepException
-
testCalcE2
- Throws:
JepException
-
iterate_produces_a_geometric_sequence
- Throws:
JepException
-
testEmptyListTest
Cases which result with- Throws:
JepException
-
testSymbolicAndLambda
- Throws:
JepException
-
testFactors
- Throws:
Exception
-
testAppend
- Throws:
Exception
-
test_apply_with_different_signatures
- Throws:
JepException
-
test_apply_with_tensor_signatures
- Throws:
JepException
-
test_can_define_a_nullay_function
- Throws:
Exception
-
test_can_build_lambda_function_with_EMPTY_LIST_as_param_list
- Throws:
Exception
-
test_can_build_lambda_function_with_empty_Operator_list_as_param_list
@Test public void test_can_build_lambda_function_with_empty_Operator_list_as_param_list() throws Exception- Throws:
Exception
-
test_GCD
- Throws:
JepException
-
test_boolean_map_with_doubles
- Throws:
JepException
-
test_range_op
- Throws:
Exception
-
test_nsort
- Throws:
Exception
-
test_rsort
- Throws:
Exception
-
test_first
- Throws:
Exception
-
test_firstNone
- Throws:
Exception
-
test_firstOr
- Throws:
Exception
-
test_firstOrNone
- Throws:
Exception
-
testFoldOr
- Throws:
JepException
-
testFoldOrEmpty
- Throws:
JepException
-
testFoldOrOne
- Throws:
JepException
-
test_last
- Throws:
Exception
-
test_lastNone
- Throws:
Exception
-
test_limit
- Throws:
Exception
-
test_limitNone
- Throws:
Exception
-
test_limitZero
- Throws:
Exception
-
test_while
- Throws:
Exception
-
test_whileNone
- Throws:
Exception
-
test_skip
- Throws:
Exception
-
test_skipNone
- Throws:
Exception
-
test_skipZero
- Throws:
Exception
-
test_count
- Throws:
Exception
-
test_countEmpty
- Throws:
Exception
-
testMin
- Throws:
JepException
-
testMinOne
- Throws:
JepException
-
testMinEmptyThrowException
- Throws:
JepException
-
testTerminal
- Throws:
JepException
-
testTerminalNaryBinary
- Throws:
JepException
-
testTerminalNaryBinaryEmpty
- Throws:
JepException
-
testTerminalNaryBinaryWithStartEmpty
- Throws:
JepException
-
testTerminalNaryBinarySingle
- Throws:
JepException
-
testTerminalNaryBinaryWithStartSingle
- Throws:
JepException
-
testExternalMapFunction
- Throws:
JepException
-
testSendTo
- Throws:
JepException
-
testFieldRange
- Throws:
Exception
-
testHigerOrderFunction_with_non_lambda_arg
- Throws:
JepException
-
test_lightweightInstances
- Throws:
Exception
-
testLambdaFunctionDescriptions
@Tag("function_descriptions") @Test public void testLambdaFunctionDescriptions() throws JepException- Throws:
JepException
-
testAllFunctionsHaveDescriptions
@Tag("function_descriptions") @Test public void testAllFunctionsHaveDescriptions() throws IOException- Throws:
IOException
-
testAllOperatorHaveDescriptions
@Tag("operator_descriptions") @Test public void testAllOperatorHaveDescriptions() throws IOException- Throws:
IOException
-