@@ -14,29 +14,32 @@ extern "C"
1414 void test_function (TestMock *mock, ExecutionContext *ctx, Target *target, ValueData **varData, List **listData);
1515 void test_print_function (ValueData *arg1, ValueData *arg2);
1616
17+ void test_empty_function ();
18+ void test_ctx_function (ExecutionContext *ctx, const char *arg);
19+
1720 void test_function_no_args (Target *target);
1821 char *test_function_no_args_ret (Target *target);
1922 void test_function_1_arg (Target *target, const char *arg1);
2023 char *test_function_1_arg_ret (Target *target, const char *arg1);
2124 void test_function_3_args (Target *target, const char *arg1, const char *arg2, const char *arg3);
2225 char *test_function_3_args_ret (Target *target, const char *arg1, const char *arg2, const char *arg3);
2326
24- bool test_equals (Target *target, const char *a, const char *b);
25- bool test_lower_than (Target *target, double a, double b);
26- bool test_not (Target *target, bool arg);
27- double test_const_number (Target *target, double v);
28- bool test_const_bool (Target *target, bool v);
29- char *test_const_string (Target *target, const char *v);
27+ bool test_equals (const char *a, const char *b);
28+ bool test_lower_than (double a, double b);
29+ bool test_not (bool arg);
30+ double test_const_number (double v);
31+ bool test_const_bool (bool v);
32+ char *test_const_string (const char *v);
3033
31- void test_unreachable (Target *target );
34+ void test_unreachable ();
3235
33- void test_reset_counter (Target *target );
34- void test_increment_counter (Target *target );
35- double test_get_counter (Target *target );
36+ void test_reset_counter ();
37+ void test_increment_counter ();
38+ double test_get_counter ();
3639
37- void test_print_number (Target *target, double v);
38- void test_print_bool (Target *target, bool v);
39- void test_print_string (Target *target, const char *v);
40+ void test_print_number (double v);
41+ void test_print_bool (bool v);
42+ void test_print_string (const char *v);
4043}
4144
4245} // namespace libscratchcpp
0 commit comments