From 653dbca9c588dbe174d3d97948a08217bf62fb4b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 13 Jul 2024 12:25:26 -0400 Subject: Add boilerplate source file for test framework --- tests/_test_boilerplate.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/_test_boilerplate.c (limited to 'tests/_test_boilerplate.c') 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 -- cgit