|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Comprehensive test suite for hf-utils-general utilities. More...
#include "TestFramework.h"#include "CircularBuffer.h"#include "RingBuffer.h"#include "AveragingFilter.h"#include "CrcCalculator.h"#include "ActionTimer.h"#include "SoftwareVersion.h"#include <cmath>#include <cstring>#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Functions | |
| static bool | test_circular_buffer_basic () noexcept |
| static bool | test_circular_buffer_overflow () noexcept |
| static bool | test_ring_buffer_basic () noexcept |
| static bool | test_averaging_filter () noexcept |
| static bool | test_averaging_filter_partial () noexcept |
| static bool | test_crc_functions () noexcept |
| static bool | test_action_timer () noexcept |
| static bool | test_software_version () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "GeneralUtils_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_CIRCULAR_BUFFER_TESTS = true |
| static constexpr bool | ENABLE_RING_BUFFER_TESTS = true |
| static constexpr bool | ENABLE_AVERAGING_FILTER_TESTS = true |
| static constexpr bool | ENABLE_CRC_TESTS = true |
| static constexpr bool | ENABLE_TIMER_TESTS = true |
| static constexpr bool | ENABLE_VERSION_TESTS = true |
Comprehensive test suite for hf-utils-general utilities.
Tests: CircularBuffer, RingBuffer, AveragingFilter, CRC utilities, ActionTimer, and SoftwareVersion.
These are all header-only, platform-independent utilities — they run on ESP32 FreeRTOS but do not require any peripherals.
| void app_main | ( | void | ) |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |