hunting/test/hal/src/IHalTest.cpp
2023-09-10 07:15:05 -07:00

22 lines
496 B
C++

#include "ILog.h"
#include "IHal.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
namespace IHalTest
{
// ../output_files/test/bin/IHalTest --gtest_filter=IHalTest.Demo
TEST(IHalTest, Demo)
{
ILogInit(LOG_EASYLOGGING);
create_hal_module();
StatusCode code = IHalInit();
if (IsCodeOK(code))
{
PrintStringCode(code);
}
IHalUnInit();
destroy_hal_module();
ILogUnInit();
}
}