fg004_a1/tests/usart/test_usart.cpp

39 lines
442 B
C++
Raw Normal View History

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