4#include "test_memory.c"
10 printf(
" ccDB TEST SUITE \n");
21 printf(
"\n========================================\n");
23 printf(
" SUCCESS! All %d tests passed.\n",
tests_run);
27 printf(
"========================================\n");
A lightweight, dependency-free unit testing harness.
#define RUN_TEST(name)
Runs a test case and prints its execution status.
static int tests_run
Global counter tracking the total number of tests executed.
static int tests_failed
Global counter tracking the total number of tests that failed.