diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/_test_boilerplate.c | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/tests/_test_boilerplate.c b/tests/_test_boilerplate.c new file mode 100644 index 0000000..1d7734b --- /dev/null +++ b/tests/_test_boilerplate.c @@ -0,0 +1,17 @@ +#include "testing.h" + +void test_NAME() { +    struct testcase { + +    }; +    STASIS_ASSERT(); +} + +int main(int argc, char *argv[]) { +    STASIS_TEST_BEGIN_MAIN(); +    STASIS_TEST_FUNC *tests[] = { +        test_NAME, +    }; +    STASIS_TEST_RUN(tests); +    STASIS_TEST_END_MAIN(); +}
\ No newline at end of file | 
