Added better default test functions.

This commit is contained in:
Jake Goodwin 2026-07-20 19:36:18 -07:00
parent 32db51cb3c
commit ea633bc0f4

View file

@ -24,15 +24,14 @@ TEST_GROUP(tg_module_name)
} }
}; };
TEST(tg_module_name, FirstTest) TEST(tg_module_name, groupRuns)
{ {
FAIL("Fail me!"); CHECK_TRUE(true);
} }
TEST(tg_module_name, SecondTest) TEST(tg_module_name, TemplateFunctionWorks)
{ {
STRCMP_EQUAL("hello", "world"); int a = 2;
LONGS_EQUAL(1, 2); int b = add_two(a);
CHECK(false); CHECK_EQUAL_TEXT(4, b, "Returned value incorrect!");
} }