diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-10-30 12:21:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 12:21:20 -0400 |
commit | f25f05d8ac309b343f8e34e882d92cb8bc78eca3 (patch) | |
tree | 740bbf4fa413357d1e839bd308ab545d1271de96 /tests/_test_boilerplate.c | |
parent | ec55ea8fc503ad3fb53635d7e9e6d58a63c6684a (diff) | |
parent | 3da6e513cc64990aa865613bd0bb9ba5d6624570 (diff) | |
download | stasis-f25f05d8ac309b343f8e34e882d92cb8bc78eca3.tar.gz |
Merge pull request #65 from jhunkeler/more-rt
More RT
Diffstat (limited to 'tests/_test_boilerplate.c')
-rw-r--r-- | tests/_test_boilerplate.c | 12 |
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(); |