Package com.singularsys.exttests.matrix
Class DimensionVisitorTest
java.lang.Object
com.singularsys.exttests.matrix.DimensionVisitorTest
- Direct Known Subclasses:
DDimensionVisitorTest
Tests for the
DimensionVisitor.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DimensionVisitorprotected DoubleMatrixComponentsprotected XJepstatic final boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS -
jep
-
dimv
-
dmc
-
-
Constructor Details
-
DimensionVisitorTest
public DimensionVisitorTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testVectorOperations
- Throws:
JepException
-
testMatrixOperations
- Throws:
JepException
-
test_dimension_which_depend_on_constant_arguments
Functions like id(2,3) has variable output dimensions, check correct dimensions.- Throws:
JepException
-
testSettingGettingVariableDimensions
@Test public void testSettingGettingVariableDimensions() -
testSetVariableDimensionsAndOperation
- Throws:
JepException
-
test_visit_variable_with_equation
- Throws:
JepException
-
test_if_with_vector_args
- Throws:
JepException
-
test_visit_variable_with_no_equation_throws
@Test public void test_visit_variable_with_no_equation_throws() -
test_ele
- Throws:
JepException
-
test_ele_when_variable_has_no_dim_throws
- Throws:
JepException
-
test_set_ele_when_variable_has_no_dim_throws
- Throws:
JepException
-
test_set_ele_with_non_scaler_index_throws
- Throws:
JepException
-
test_set_ele_with_scaler_variable_throws
- Throws:
JepException
-
test_set_ele_with_get_ele_on_rhs
- Throws:
JepException
-
test_set_ele_vec_with_wrong_dim_throws
- Throws:
JepException
-
test_set_ele_vec_matches_rhsdim
- Throws:
JepException
-
test_chained_assignment
- Throws:
JepException
-
test_set_ele_mat_matches_rhsdim
- Throws:
JepException
-
test_serialization_of_node_with_dimensions
@Test public void test_serialization_of_node_with_dimensions() throws JepException, IOException, ClassNotFoundException -
test_serialization_of_variable_with_dimensions
@Test public void test_serialization_of_variable_with_dimensions() throws JepException, IOException, ClassNotFoundException -
self_referential_equations_should_be_trapped
- Throws:
ParseException
-
self_referential_equations_should_be_trapped_withMDJep
- Throws:
ParseException
-