Added tests for element wise mul and div functions. Fixed memory leak in tests.

This commit is contained in:
2023-09-07 14:48:12 +02:00
parent 7fa38be6a3
commit f21b8562cc
5 changed files with 106 additions and 8 deletions

View File

@@ -23,8 +23,12 @@ void tensor_test_run_all(void)
&tensor_test_cpy,
&tensor_test_add_inplace,
&tensor_test_sub_inplace,
&tensor_test_mul_inplace,
&tensor_test_div_inplace,
&tensor_test_add,
&tensor_test_sub,
&tensor_test_mul,
&tensor_test_div,
};
printf("\n### Running tests for tensor.c ... ###\n\n");