39 lines
442 B
C++
39 lines
442 B
C++
|
/*
|
||
|
* Author: username
|
||
|
* Date: todays_date
|
||
|
* filename: test_timer.c
|
||
|
* description: module_purpose
|
||
|
*/
|
||
|
|
||
|
#include "CppUTest/CommandLineTestRunner.h"
|
||
|
|
||
|
extern "C"
|
||
|
{
|
||
|
#include "timer.h"
|
||
|
}
|
||
|
|
||
|
TEST_GROUP(test_timer)
|
||
|
{
|
||
|
void setup()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
void teardown()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
};
|
||
|
|
||
|
TEST(test_timer, FirstTest)
|
||
|
{
|
||
|
FAIL("Fail me!");
|
||
|
}
|
||
|
|
||
|
TEST(test_timer, SecondTest)
|
||
|
{
|
||
|
STRCMP_EQUAL("hello", "world");
|
||
|
LONGS_EQUAL(1, 2);
|
||
|
CHECK(false);
|
||
|
}
|
||
|
|