aboutsummaryrefslogtreecommitdiff
path: root/tests/_test_boilerplate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_test_boilerplate.c')
-rw-r--r--tests/_test_boilerplate.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/_test_boilerplate.c b/tests/_test_boilerplate.c
index 1d7734b..b13568d 100644
--- a/tests/_test_boilerplate.c
+++ b/tests/_test_boilerplate.c
@@ -1,16 +1,24 @@
#include "testing.h"
+/*
void test_NAME() {
struct testcase {
};
- STASIS_ASSERT();
+ struct testcase tc[] = {
+ { // ... },
+ }
+
+ for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) {
+ // STASIS_ASSERT();
+ }
}
+ */
int main(int argc, char *argv[]) {
STASIS_TEST_BEGIN_MAIN();
STASIS_TEST_FUNC *tests[] = {
- test_NAME,
+ //test_NAME,
};
STASIS_TEST_RUN(tests);
STASIS_TEST_END_MAIN();