|
@ -12,7 +12,8 @@ extern void setUp(void); |
|
|
extern void tearDown(void); |
|
|
extern void tearDown(void); |
|
|
extern void test_checkBallPosition_output_if_goal(void); |
|
|
extern void test_checkBallPosition_output_if_goal(void); |
|
|
extern void test_checkBallPosition_output_if_no_goal(void); |
|
|
extern void test_checkBallPosition_output_if_no_goal(void); |
|
|
extern void test_sortScoreboard_check_if_file_exists(void); |
|
|
|
|
|
|
|
|
extern void test_sortScoreboard_check_if_file_is_created(void); |
|
|
|
|
|
extern void test_clearField_check_if_Playgroung_clear(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -79,7 +80,8 @@ int main(void) |
|
|
UnityBegin("test_Modules.c"); |
|
|
UnityBegin("test_Modules.c"); |
|
|
run_test(test_checkBallPosition_output_if_goal, "test_checkBallPosition_output_if_goal", 15); |
|
|
run_test(test_checkBallPosition_output_if_goal, "test_checkBallPosition_output_if_goal", 15); |
|
|
run_test(test_checkBallPosition_output_if_no_goal, "test_checkBallPosition_output_if_no_goal", 31); |
|
|
run_test(test_checkBallPosition_output_if_no_goal, "test_checkBallPosition_output_if_no_goal", 31); |
|
|
run_test(test_sortScoreboard_check_if_file_exists, "test_sortScoreboard_check_if_file_exists", 47); |
|
|
|
|
|
|
|
|
run_test(test_sortScoreboard_check_if_file_is_created, "test_sortScoreboard_check_if_file_is_created", 47); |
|
|
|
|
|
run_test(test_clearField_check_if_Playgroung_clear, "test_clearField_check_if_Playgroung_clear", 64); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |