18 lines
389 B
C++
18 lines
389 B
C++
|
|
#include "Log.h"
|
|
#include "i_hal.h"
|
|
#include <gmock/gmock.h>
|
|
#include <gtest/gtest.h>
|
|
namespace IHalTest
|
|
{
|
|
// ../out/test/bin/IHalTest --gtest_filter=IHalTest.Demo
|
|
TEST(IHalTest, Demo)
|
|
{
|
|
InitLog(LOG_EASYLOGGING, nullptr);
|
|
// create_hal_module();
|
|
i_hal_init();
|
|
i_hal_un_init();
|
|
i_hal_free();
|
|
UnInitLog();
|
|
}
|
|
} |