#include "CppUTest/TestHarness.h" #include "CppUTest/CommandLineTestRunner.h" #include "hal_flash_sector.h" #include "btstack_tlv.h" TEST_GROUP(HAL_FLASH_SECTOR){ void setup(void){ hal_flash_sector_init(); } }; TEST(HAL_FLASH_SECTOR, TestErased){ uint8_t buffer; int offsets[] = { 0, 10, 100}; int i; for (i=0;i