|
@ -15,7 +15,10 @@ extern void test_checkBallPosition_output_if_no_goal(void); |
|
|
extern void test_sortScoreboard_check_if_file_is_created(void); |
|
|
extern void test_sortScoreboard_check_if_file_is_created(void); |
|
|
extern void test_clearField_check_if_Playgroung_clear(void); |
|
|
extern void test_clearField_check_if_Playgroung_clear(void); |
|
|
extern void test_getStartPosition_check_given_position(void); |
|
|
extern void test_getStartPosition_check_given_position(void); |
|
|
extern void test_generateField_check_walls_length(void); |
|
|
|
|
|
|
|
|
extern void test_generateField_check_walls_length_correctly_inserted(void); |
|
|
|
|
|
extern void test_sortScoreboard_check_if_file_is_being_read(void); |
|
|
|
|
|
extern void test_generateField_check_last_position_change_on_score(void); |
|
|
|
|
|
extern void test_generateField_check_middle_position_change_on_score(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -85,7 +88,10 @@ int main(void) |
|
|
run_test(test_sortScoreboard_check_if_file_is_created, "test_sortScoreboard_check_if_file_is_created", 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); |
|
|
run_test(test_clearField_check_if_Playgroung_clear, "test_clearField_check_if_Playgroung_clear", 64); |
|
|
run_test(test_getStartPosition_check_given_position, "test_getStartPosition_check_given_position", 86); |
|
|
run_test(test_getStartPosition_check_given_position, "test_getStartPosition_check_given_position", 86); |
|
|
run_test(test_generateField_check_walls_length, "test_generateField_check_walls_length", 107); |
|
|
|
|
|
|
|
|
run_test(test_generateField_check_walls_length_correctly_inserted, "test_generateField_check_walls_length_correctly_inserted", 107); |
|
|
|
|
|
run_test(test_sortScoreboard_check_if_file_is_being_read, "test_sortScoreboard_check_if_file_is_being_read", 132); |
|
|
|
|
|
run_test(test_generateField_check_last_position_change_on_score, "test_generateField_check_last_position_change_on_score", 160); |
|
|
|
|
|
run_test(test_generateField_check_middle_position_change_on_score, "test_generateField_check_middle_position_change_on_score", 178); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |