summaryrefslogtreecommitdiff
path: root/test/test.h
blob: 2d9d8af0bd624d51d35a54f589f9affe6e35d9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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();
void run_command_tests();
void run_keyboard_tests();