diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2025-03-19 14:00:00 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-03-19 14:00:00 +0100 |
commit | 0247a8d70ad35c1b0e0913c35e977b9aebe23de5 (patch) | |
tree | 2a9678fd39bcf8ead03c7ee979caf668f2f17892 /tests.c | |
parent | 23b0098fb6aee9fcc182424270a8a24c03b79c49 (diff) |
Administritavia
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,37 @@ +#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)); +} |