36 lines
466 B
C++
36 lines
466 B
C++
|
/*
|
||
|
* Author: Jake G
|
||
|
* Date: 2024
|
||
|
* filename: test_load.cpp
|
||
|
* description:
|
||
|
*/
|
||
|
|
||
|
#include "CppUTest/CommandLineTestRunner.h"
|
||
|
#include "CppUTestExt/MockSupport.h"
|
||
|
#include <cstdint>
|
||
|
|
||
|
extern "C"
|
||
|
{
|
||
|
#include "load.h"
|
||
|
#include "MockADC.h"
|
||
|
#include "MockADC.h"
|
||
|
}
|
||
|
|
||
|
TEST_GROUP(test_load)
|
||
|
{
|
||
|
void setup()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
void teardown()
|
||
|
{
|
||
|
mock().checkExpectations();
|
||
|
mock().clear();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
TEST(test_load, LoadPass)
|
||
|
{
|
||
|
CHECK_TRUE(true);
|
||
|
}
|