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