diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-04-27 12:52:06 +0200 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-04-27 13:05:34 +0200 |
commit | f87f7b4f0aaccc65d03ccee5bb11915ead6fb0e1 (patch) | |
tree | d54df0bfde3dbffa02b1f138af4f12456f261e54 /tests.c | |
parent | 0574f5a7c5159a2ae1d7d2182cec982509947db9 (diff) |
First pass at preparing for Github
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests.c b/tests.c deleted file mode 100644 index a9a73a1..0000000 --- a/tests.c +++ /dev/null @@ -1,37 +0,0 @@ -#define MAX_INPUT_LEN 255 - -#define TB_IMPL -#include "external/termbox2.h" - -#include "chatty.h" - -#define TEST_IMPL -#include "test.h" - -#define Assert(expr) if (!(expr)) *(u8*)0 = 0 - -bool -DrawingTest(void) -{ - struct tb_event ev = {0}; - - - - return true; -} - -int -main(int Argc, char* Argv[]) -{ - test_functions TestFunctions[] = { - TESTFUNC(DrawingTest), - { 0 } - }; - - Assert(setlocale(LC_ALL, "")); - - Before = (void(*)(void))tb_init; - After = (void(*)(void))tb_shutdown; - - return(Test(TestFunctions, Argc, Argv)); -} |