2024-08-22 02:59:14 +00:00
|
|
|
/*
|
|
|
|
* 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()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2024-08-24 00:06:03 +00:00
|
|
|
|
|
|
|
TEST(test_LedController, SpyStructWorks)
|
|
|
|
{
|
|
|
|
FAIL("Not yet implimented");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-08-22 02:59:14 +00:00
|
|
|
TEST(test_LedController, FirstTest)
|
|
|
|
{
|
|
|
|
FAIL("Fail me!");
|
|
|
|
}
|
|
|
|
|
|
|
|
TEST(test_LedController, SecondTest)
|
|
|
|
{
|
|
|
|
STRCMP_EQUAL("hello", "world");
|
|
|
|
LONGS_EQUAL(1, 2);
|
|
|
|
CHECK(false);
|
|
|
|
}
|
|
|
|
|