dodalem plis testowy

This commit is contained in:
2021-05-29 10:50:20 +02:00
parent 6eded1c5cc
commit 380b4f3270

31
test/test_SSD1306_oled.c Normal file
View File

@@ -0,0 +1,31 @@
#include "unity.h"
// #include "main.h"
// #include "cmsis_gcc.h"
// #include "dma_type.h"
// #include "stm32f3xx_hal_dma.h"
// #include "my_types.h"
#include "mock_stm32f3xx_hal_i2c.h"
#include "SSD1306_oled.h"
// DMA_InitTypeDef * mydef;
void setUp(void)
{
// memset( buffer_oled, 0xFF, SSD1306_BUF_SIZE);
}
void tearDown(void)
{
}
void test_tempSensor_NeedToImplement(void)
{
// TEST_IGNORE_MESSAGE("Need to Implement tempSensor");
// TEST_ASSERT_TRUE(1);
buffer_oled[0] = 0xFF;
TEST_ASSERT_EQUAL_HEX(0xFF, buffer_oled[0]);
// TEST_ASSERT_NOT_NULL(mydef);
}