main
 1#ifndef KC_HEADER_TESTING_INCLUDED
 2#define KC_HEADER_TESTING_INCLUDED
 3
 4#include "../macros/macros.h"
 5
 6#define KC_TESTFUNC( NAME, ... ) \
 7	IN_CUSTOM_SECTION( kc_tests, void,  _kc_test_##NAME(void)) { \
 8	__VA_ARGS__ \
 9	}
10
11#if defined(KC_IMPLEMENT) && defined(KC_USE_PLATFORM_LIBC)
12#include <stdio.h>
13
14IN_CUSTOM_SECTION( kc_tests, void, kc_test_runner(void) {
15
16	printf("Welcome to the test runner.");
17
18})
19
20#endif
21
22#endif