Loading files
527ad3734This file is pinned to the selected release. Download the original to open it in your design tool.
#include <gtest/gtest.h>
#include "lcd/backlight/Backlight.h"
#include "hardware/lcd/MockBacklightDriver.h"
#include "freertos/MockThread.h"
int main( int argc, char **argv)
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
TEST( BacklightConstructor, Create )
{
hardware::lcd::MockBacklightDriver mockBacklightDriver;
const lcd::Backlight backlight( mockBacklightDriver );
SUCCEED();
}