2024-08-02 19:57:48 +00:00
|
|
|
/*
|
|
|
|
* Author: username
|
|
|
|
* Date: todays_date
|
|
|
|
* filename: test_timer.c
|
|
|
|
* description: module_purpose
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "CppUTest/CommandLineTestRunner.h"
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
{
|
2024-08-02 20:05:46 +00:00
|
|
|
#include "MockRegEdit.h"
|
2024-08-02 19:57:48 +00:00
|
|
|
#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);
|
|
|
|
}
|
|
|
|
|