diff options
Diffstat (limited to 'src/tests-lib.c')
-rw-r--r-- | src/tests-lib.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tests-lib.c b/src/tests-lib.c index 21e6a8f..a9d229a 100644 --- a/src/tests-lib.c +++ b/src/tests-lib.c @@ -7,11 +7,13 @@ #define COLOUR_GREEN "\033[0;32m" #define COLOUR_YELLOW "\033[0;33m" -void test_start(const char *const name) { +void +test_start(const char *const name) { assert(fprintf(stderr, "%s():\n", name) > 0); } -void testing(const char *const message) { +void +testing(const char *const message) { assert( fprintf( stderr, @@ -21,6 +23,7 @@ void testing(const char *const message) { ); } -void test_ok(void) { +void +test_ok(void) { assert(fprintf(stderr, " " COLOUR_GREEN "OK" COLOUR_RESET ".\n") > 0); } |