aboutsummaryrefslogtreecommitdiff
path: root/src/tests-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests-lib.c')
-rw-r--r--src/tests-lib.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/tests-lib.c b/src/tests-lib.c
deleted file mode 100644
index a9d229a..0000000
--- a/src/tests-lib.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "config.h"
-#include "tests-lib.h"
-#include <stdio.h>
-#include <assert.h>
-
-#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(stderr, "%s():\n", name) > 0);
-}
-
-void
-testing(const char *const message) {
- assert(
- fprintf(
- stderr,
- COLOUR_YELLOW "testing" COLOUR_RESET ": %s...",
- message
- ) > 0
- );
-}
-
-void
-test_ok(void) {
- assert(fprintf(stderr, " " COLOUR_GREEN "OK" COLOUR_RESET ".\n") > 0);
-}