Skip to content
Snippets Groups Projects
Commit 6cbd2771 authored by Dragoș-Iulian ARGINT (94922)'s avatar Dragoș-Iulian ARGINT (94922)
Browse files

Update 3-raid-checker


Signed-off-by: default avatarDragoș-Iulian ARGINT <dragos.argint@stud.acs.upb.ro>
parent 5610ad32
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ static size_t total_points = 0; ...@@ -14,7 +14,7 @@ static size_t total_points = 0;
static void test_do_fail(size_t points) static void test_do_fail(size_t points)
{ {
printf("failed [ 0/%3zu]\n", points); printf("failed [ 0/%3zu]\n", max_points);
#ifdef EXIT_IF_FAIL #ifdef EXIT_IF_FAIL
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
#endif #endif
...@@ -23,7 +23,7 @@ static void test_do_fail(size_t points) ...@@ -23,7 +23,7 @@ static void test_do_fail(size_t points)
static void test_do_pass(size_t points) static void test_do_pass(size_t points)
{ {
total_points += points; total_points += points;
printf("passed [%3zu/%3zu]\n", points, points); printf("passed [%3zu/%3zu]\n", points, max_points);
} }
void basic_test(int condition) void basic_test(int condition)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment