Added better default test functions.
This commit is contained in:
parent
32db51cb3c
commit
ea633bc0f4
1 changed files with 6 additions and 7 deletions
|
|
@ -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");
|
||||
LONGS_EQUAL(1, 2);
|
||||
CHECK(false);
|
||||
int a = 2;
|
||||
int b = add_two(a);
|
||||
CHECK_EQUAL_TEXT(4, b, "Returned value incorrect!");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue