39 lines
442 B
C++
39 lines
442 B
C++
/*
|
|
* 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);
|
|
}
|
|
|