Break down tests into categories to improve maintainability and test granularity. This makes it easier to execute unit tests in CI/CD pipelines. Closes #1054.
26 lines
567 B
C
26 lines
567 B
C
#pragma once
|
||
|
||
#include <string.h> // For memset
|
||
#include "unity.h"
|
||
#include "relay_chn.h"
|
||
#include "driver/gpio.h"
|
||
#include "esp_log.h"
|
||
#include "sdkconfig.h"
|
||
#include "freertos/FreeRTOS.h"
|
||
#include "freertos/task.h"
|
||
|
||
// Test log tag
|
||
extern const char *TEST_TAG;
|
||
|
||
// GPIO konfigürasyonları
|
||
extern const gpio_num_t gpio_map[];
|
||
extern const uint8_t gpio_count;
|
||
extern const uint8_t relay_chn_count;
|
||
|
||
// Config parametreleri
|
||
extern const uint32_t opposite_inertia_ms;
|
||
extern const uint32_t test_delay_margin_ms;
|
||
|
||
// Init durumu
|
||
extern bool g_is_component_initialized;
|