Package com.singularsys.exttests
Class RewriteTest
java.lang.Object
com.singularsys.exttests.RewriteTest
Tests for the
rewrite package.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestLog()voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS
-
-
Constructor Details
-
RewriteTest
public RewriteTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testRewrite
- Throws:
Exception
-
test_ExpandPower
- Throws:
ParseException
-
testMultiplyBoth
- Throws:
Exception
-
testTaylor
- Throws:
Exception
-
testMemory
- Throws:
Exception
-
testLog
- Throws:
Exception
-
testConstantRules
- Throws:
Exception
-
testVariableShifter
- Throws:
Exception
-
testCrossProduct
- Throws:
JepException
-
testCrossProductWithConstantVecRHS
- Throws:
JepException
-
testCrossProductWithConstantVecLHS
- Throws:
JepException
-
testCrossProductWithConstantVecLHSAndRHS
- Throws:
JepException
-
testDotProduct
- Throws:
JepException
-
testDotProductWithConstantVecLHS
- Throws:
JepException
-
testDotProductWithConstantVecRHS
- Throws:
JepException
-
testDotProductWithConstantVecLHSAndRHS
- Throws:
JepException
-
with_DJep_uses_the_correct_deepCopy_visitor
@Test public void with_DJep_uses_the_correct_deepCopy_visitor() -
with_MDJep_uses_the_correct_deepCopy_visitor
@Test public void with_MDJep_uses_the_correct_deepCopy_visitor() -
test_scalar_mult_LHS
- Throws:
JepException
-
test_scalar_mult_RHS
- Throws:
JepException
-
test_variable_mult_RHS
- Throws:
JepException
-
test_variable_mult_LHS
- Throws:
JepException
-
test_variable_mul_vector_LHS
- Throws:
JepException
-
test_scalar_mul_matrix_LHS
- Throws:
JepException
-
test_variable_mul_matrix_LHS
- Throws:
JepException
-
test_scalar_mul_constant_vector
- Throws:
JepException
-
test_scalar_mul_vector_constant
- Throws:
JepException
-
test_scalar_div_vector_constant
- Throws:
JepException
-
test_scalar_mul_matrix_RHS
- Throws:
JepException
-
test_scalar_mul_constant_matrix
- Throws:
JepException
-
test_scalar_mul_matrix_constant
- Throws:
JepException
-
test_scalar_div_matrix_constant
- Throws:
JepException
-
test_vector_add
- Throws:
JepException
-
test_matrix_add
- Throws:
JepException
-
test_add_vector_constant_LHS
- Throws:
JepException
-
test_add_vector_constant_RHS
- Throws:
JepException
-
test_add_matrix_constant_LHS
- Throws:
JepException
-
test_add_matrix_constant_RHS
- Throws:
JepException
-
test_subtract_vectors
- Throws:
ParseException
-
test_subtract_matrices
- Throws:
ParseException
-
test_multiply_constant_vector_and_matrix_operations
- Throws:
JepException
-
test_multiply_constant_matrix_vector_operations
- Throws:
JepException
-
test_multiply_constant_matrix_matrix_operations
- Throws:
JepException
-
test_multiply_matrix_matrix
- Throws:
ParseException
-
test_multiply_matrix_vector
- Throws:
ParseException
-
test_multiply_vector_matrix
- Throws:
ParseException
-
test_split_add_three_variables
- Throws:
ParseException
-
test_split_add_four_variables
- Throws:
ParseException
-
test_split_concat_three_strings
- Throws:
JepException
-
test_add_three_constant_vectors
- Throws:
ParseExceptionEvaluationException
-
test_right_associative_operator
- Throws:
ParseException
-
consolodate_nested_operator_LHS
- Throws:
ParseException
-
consolodate_nested_operator_RHS
- Throws:
ParseException
-
consolodate_double_nested_operator_LHS
- Throws:
ParseException
-
consolodate_nested_functions_LHS
- Throws:
ParseException
-