diff options
| author | Albert Cervin <albert@acervin.com> | 2022-11-02 22:20:04 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2022-11-16 23:33:49 +0100 |
| commit | 2f4cb88d5c60f725323739300bb49dfa8923e7d5 (patch) | |
| tree | 6ec22c2be92eff05f18e5919e747faab56e555ad /test/test.h | |
| download | dged-2f4cb88d5c60f725323739300bb49dfa8923e7d5.tar.gz dged-2f4cb88d5c60f725323739300bb49dfa8923e7d5.tar.xz dged-2f4cb88d5c60f725323739300bb49dfa8923e7d5.zip | |
🎉 And so it begins
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test.h b/test/test.h new file mode 100644 index 0000000..ae6f22d --- /dev/null +++ b/test/test.h @@ -0,0 +1,11 @@ +#include <stdio.h> + +#define run_test(fn) \ + printf(" 🧜 running \x1b[1;36m" #fn "\033[0m... "); \ + fflush(stdout); \ + fn(); \ + printf("\033[32mok!\033[0m\n"); + +void run_buffer_tests(); +void run_utf8_tests(); +void run_text_tests(); |
