From 221b4f05a978b026e47c51148c550c0e730b6d98 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Sat, 16 Mar 2024 13:39:00 -0700 Subject: [PATCH] changed to match the currently working cpp test file --- .template_files/modules/test_module_name.cpp | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .template_files/modules/test_module_name.cpp diff --git a/.template_files/modules/test_module_name.cpp b/.template_files/modules/test_module_name.cpp new file mode 100644 index 0000000..dfe1663 --- /dev/null +++ b/.template_files/modules/test_module_name.cpp @@ -0,0 +1,38 @@ +/* + * Author: username + * Date: todays_date + * filename: test_module_name.c + * description: module_purpose + */ + +#include "CppUTest/CommandLineTestRunner.h" + +extern C +{ +#include "module_name.h" +} + +TEST_GROUP(FirstTestGroup) +{ + void setup() + { + + } + void teardown() + { + + } +}; + +TEST(FirstTestGroup, FirstTest) +{ + FAIL("Fail me!"); +} + +TEST(FirstTestGroup, SecondTest) +{ + STRCMP_EQUAL("hello", "world"); + LONGS_EQUAL(1, 2); + CHECK(false); +} +