cmake_cpputest_template/.template_files/modules/test_module_name.c

32 lines
473 B
C
Raw Normal View History

2024-03-07 05:18:46 +00:00
/*
* Author: username
* Date: todays_date
* filename: test_module_name.c
* description: module_purpose
*/
#include "CppUTest/CommandLineTestRunner.h"
#include "module_name.h"
TEST_GROUP(FirstTestGroup)
{
};
TEST(FirstTestGroup, FirstTest)
{
FAIL("Fail me!");
}
TEST(FirstTestGroup, SecondTest)
{
STRCMP_EQUAL("hello", "world");
LONGS_EQUAL(1, 2);
CHECK(false);
}
2024-03-07 05:18:46 +00:00
int main(int ac, char** av)
{
2024-03-07 05:18:46 +00:00
return CommandLineTestRunner::RunAllTests(ac, av);
}