Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Mar 29, 2024
1 parent 79e412c commit b9e8e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
typedef TEST_SIG(function);

#define TEST_FUNC(name, code) static TEST_SIG(name) { char *test_name = #name; bool result = true; {code} return result; }
#define TEST_CHECK(r, e) if ((r) != (e)) { printf(" \e[1;33m%s\e[m \e[1;31m%s == %s\e[m \e[1;31m(%d == %d)\e[m\n", test_name, #r, #e, r, e); result = false; }
#define TEST_CHECK(r, e) if ((r) != (e)) { printf(" \e[1;33m%s\e[m\e[1;31m#%d %s == %s\e[m \e[1;31m(%d == %d)\e[m\n", test_name, __LINE__, #r, #e, r, e); result = false; }

#include "cardinal.c"

Expand Down

0 comments on commit b9e8e35

Please sign in to comment.