Commit 04dcc8310ae13582294ab17cdeab5b26827a56c6

Thomas de Grivel 2023-04-12T22:51:46

TEST_CASE_RUN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/test/test.h b/test/test.h
index e890f62..76f1855 100644
--- a/test/test.h
+++ b/test/test.h
@@ -40,6 +40,12 @@
     return 0;                                                          \
   }
 
+#define TEST_CASE_PROTOTYPE(name)                                      \
+  char test_case_ ## name ()
+
+#define TEST_CASE_RUN(name)                                            \
+  test_case_ ## name ()
+
 #define TEST_EQ(test, expected)                                        \
   do {                                                                 \
     long long signed TEST_EQ_tmp = (long long signed) (test);          \