From 613398385703b6e99c8137a1b89454d977ccf2c8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 20 Feb 2024 11:26:48 -0300 Subject: Remove C code and cleanup repository --- tests/tests-lib.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tests/tests-lib.c (limited to 'tests/tests-lib.c') diff --git a/tests/tests-lib.c b/tests/tests-lib.c deleted file mode 100644 index e46fb2d..0000000 --- a/tests/tests-lib.c +++ /dev/null @@ -1,28 +0,0 @@ -#include "tests-lib.h" -#include -#include - -#define COLOUR_RESET "\033[0m" -#define COLOUR_GREEN "\033[0;32m" -#define COLOUR_YELLOW "\033[0;33m" - -void -test_start(const char *const name) { - assert(fprintf(stdout, "%s:\n", name) > 0); -} - -void -testing(const char *const message) { - assert( - fprintf( - stdout, - COLOUR_YELLOW "testing" COLOUR_RESET ": %s...", - message - ) > 0 - ); -} - -void -test_ok(void) { - assert(fprintf(stdout, " " COLOUR_GREEN "OK" COLOUR_RESET ".\n") > 0); -} -- cgit v1.2.3