Beispiel #1
0
 [DataRow("{a,2,3}'", nameof(va), true)]        // that was an actual bug: variable a was overwritten
 public void test_vector_creation_literal(string s1, string v1, bool t) => Tester.EqnTest(s1, _dict[v1], t);
Beispiel #2
0
 public void test_assignment_to_element_throwing() => Tester.ThrowTest("va'[0]=123", EErrorCodes.ecASSIGNEMENT_TO_VALUE);
Beispiel #3
0
 public void test_two_dimentional_index_operator(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);
Beispiel #4
0
 public void test_two_dim_tranposed_index_operator(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);
Beispiel #5
0
 public void test_matrix_transposition(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);
Beispiel #6
0
 public void test_matrix_transposition() => Tester.EqnTest("va*vb'", _dict[nameof(va_times_vb_transp)], true);
Beispiel #7
0
 public void test_eye_error_throwing() => Tester.ThrowTest("eye()", EErrorCodes.ecINVALID_NUMBER_OF_PARAMETERS);
Beispiel #8
0
 [DataRow("size(eye(3,6))", nameof(size_3x6), true)] // check return value dimension
 public void test_eye_value(string s1, string v1, bool t) => Tester.EqnTest(s1, _dict[v1], t);
Beispiel #9
0
 public void test_ones_EErrorCodes(string s, EErrorCodes e) => Tester.ThrowTest(s, e);
Beispiel #10
0
 public void test_ones_expressions(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);
Beispiel #11
0
 public void test_sample_expressions(string s1, string v1, bool t) => Tester.EqnTest(s1, _dict[v1], t);
Beispiel #12
0
 public void test_matrix_dimension_mismatch_error(string s, EErrorCodes e) => Tester.ThrowTest(s, e);
Beispiel #13
0
 public void test_domain_error(string s, EErrorCodes e) => Tester.ThrowTest(s, e);
Beispiel #14
0
 public void test_postfix_basic(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);
Beispiel #15
0
 public void test_infix_operators(string s1, dynamic v1, bool t) => Tester.EqnTest(s1, v1, t);