aboutsummaryrefslogtreecommitdiff
path: root/tests/_test_boilerplate.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-10-30 12:21:20 -0400
committerGitHub <noreply@github.com>2024-10-30 12:21:20 -0400
commitf25f05d8ac309b343f8e34e882d92cb8bc78eca3 (patch)
tree740bbf4fa413357d1e839bd308ab545d1271de96 /tests/_test_boilerplate.c
parentec55ea8fc503ad3fb53635d7e9e6d58a63c6684a (diff)
parent3da6e513cc64990aa865613bd0bb9ba5d6624570 (diff)
downloadstasis-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.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();