blob: 047bbfb99e0c63e3f27c2d9ebde0e340d93400ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _TEST_H_
#define _TEST_H_
#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_undo_tests();
void run_command_tests();
void run_keyboard_tests();
void run_allocator_tests();
void run_minibuffer_tests();
void run_settings_tests();
#endif
|