Class DimensionVisitorTest

java.lang.Object
com.singularsys.exttests.matrix.DimensionVisitorTest
Direct Known Subclasses:
DDimensionVisitorTest

public class DimensionVisitorTest extends Object
Tests for the DimensionVisitor.
  • Field Details

  • Constructor Details

    • DimensionVisitorTest

      public DimensionVisitorTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • testVectorOperations

      @Test public void testVectorOperations() throws JepException
      Throws:
      JepException
    • testMatrixOperations

      @Test public void testMatrixOperations() throws JepException
      Throws:
      JepException
    • test_dimension_which_depend_on_constant_arguments

      @Test public void test_dimension_which_depend_on_constant_arguments() throws JepException
      Functions like id(2,3) has variable output dimensions, check correct dimensions.
      Throws:
      JepException
    • testSettingGettingVariableDimensions

      @Test public void testSettingGettingVariableDimensions()
    • testSetVariableDimensionsAndOperation

      @Test public void testSetVariableDimensionsAndOperation() throws JepException
      Throws:
      JepException
    • test_visit_variable_with_equation

      @Test public void test_visit_variable_with_equation() throws JepException
      Throws:
      JepException
    • test_if_with_vector_args

      @Test public void test_if_with_vector_args() throws JepException
      Throws:
      JepException
    • test_visit_variable_with_no_equation_throws

      @Test public void test_visit_variable_with_no_equation_throws()
    • test_ele

      @Test public void test_ele() throws JepException
      Throws:
      JepException
    • test_ele_when_variable_has_no_dim_throws

      @Test public void test_ele_when_variable_has_no_dim_throws() throws JepException
      Throws:
      JepException
    • test_set_ele_when_variable_has_no_dim_throws

      @Test public void test_set_ele_when_variable_has_no_dim_throws() throws JepException
      Throws:
      JepException
    • test_set_ele_with_non_scaler_index_throws

      @Test public void test_set_ele_with_non_scaler_index_throws() throws JepException
      Throws:
      JepException
    • test_set_ele_with_scaler_variable_throws

      @Test public void test_set_ele_with_scaler_variable_throws() throws JepException
      Throws:
      JepException
    • test_set_ele_with_get_ele_on_rhs

      @Test public void test_set_ele_with_get_ele_on_rhs() throws JepException
      Throws:
      JepException
    • test_set_ele_vec_with_wrong_dim_throws

      @Test public void test_set_ele_vec_with_wrong_dim_throws() throws JepException
      Throws:
      JepException
    • test_set_ele_vec_matches_rhsdim

      @Test public void test_set_ele_vec_matches_rhsdim() throws JepException
      Throws:
      JepException
    • test_chained_assignment

      @Test public void test_chained_assignment() throws JepException
      Throws:
      JepException
    • test_set_ele_mat_matches_rhsdim

      @Test public void test_set_ele_mat_matches_rhsdim() throws JepException
      Throws:
      JepException
    • test_serialization_of_node_with_dimensions

      @Test public void test_serialization_of_node_with_dimensions() throws JepException, IOException, ClassNotFoundException
      Throws:
      JepException
      IOException
      ClassNotFoundException
    • test_serialization_of_variable_with_dimensions

      @Test public void test_serialization_of_variable_with_dimensions() throws JepException, IOException, ClassNotFoundException
      Throws:
      JepException
      IOException
      ClassNotFoundException
    • self_referential_equations_should_be_trapped

      @Test public void self_referential_equations_should_be_trapped() throws ParseException
      Throws:
      ParseException
    • self_referential_equations_should_be_trapped_withMDJep

      @Test public void self_referential_equations_should_be_trapped_withMDJep() throws ParseException
      Throws:
      ParseException