use assert instead of ambiuous return code
This commit is contained in:
10
test/test.c
10
test/test.c
@@ -13,12 +13,10 @@ int main(void) {
|
||||
printf("REPO: %s\n", L_TYPES_REPO);
|
||||
printf("VERSION: %s\n", L_TYPES_VERSION);
|
||||
printf("LICENSE: %s\n\n", L_TYPES_LICENSE);
|
||||
|
||||
int RETURN_CODE = 0;
|
||||
|
||||
RETURN_CODE += test_l_array();
|
||||
RETURN_CODE += test_l_string();
|
||||
test_l_array();
|
||||
test_l_string();
|
||||
|
||||
printf("\nError Total: %d\n", RETURN_CODE);
|
||||
return RETURN_CODE;
|
||||
printf("Test Completed Succefully.\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user