From e26db1673a62bebaeff6986630b546ee09d60c27 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Fri, 8 Mar 2024 10:43:44 -0800 Subject: [PATCH] added baisc test code --- tests/wrap/test_wrap.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/wrap/test_wrap.c b/tests/wrap/test_wrap.c index e69de29..7d47c40 100644 --- a/tests/wrap/test_wrap.c +++ b/tests/wrap/test_wrap.c @@ -0,0 +1,18 @@ +#include +#include +#include +#include +#include + +/* A test case that does nothing and succeeds. */ +static void null_test_success(void **state) { + (void) state; /* unused */ +} + +int main(void) +{ + const struct CMUnitTest tests[] = { + cmocka_unit_test(null_test_success), + }; + return cmocka_run_group_tests(tests, NULL, NULL); +}