|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
ASCII Art Generator comprehensive example and test suite for ESP32-C6 DevKit-M-1 (noexcept) More...
#include <algorithm>#include <cstring>#include <string>#include <vector>#include "TestFramework.h"#include "utils/AsciiArtGenerator.h"Functions | |
| bool | test_basic_ascii_art_generation () noexcept |
| bool | test_uppercase_conversion () noexcept |
| bool | test_special_characters () noexcept |
| bool | test_numbers_and_symbols () noexcept |
| bool | test_empty_and_edge_cases () noexcept |
| bool | test_custom_character_management () noexcept |
| bool | test_character_support_validation () noexcept |
| bool | test_supported_characters_list () noexcept |
| bool | test_complex_text_generation () noexcept |
| bool | test_performance_and_stability () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "ASCII_ART_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_CORE_TESTS = true |
| static constexpr bool | ENABLE_CHARACTER_TESTS = true |
| static constexpr bool | ENABLE_EDGE_CASE_TESTS = true |
| static constexpr bool | ENABLE_CUSTOM_TESTS = true |
| static constexpr bool | ENABLE_ADVANCED_TESTS = true |
ASCII Art Generator comprehensive example and test suite for ESP32-C6 DevKit-M-1 (noexcept)
This file contains a comprehensive example and test suite for the AsciiArtGenerator targeting ESP32-C6 with ESP-IDF v5.5+. It provides thorough testing and demonstration of all ASCII art generation functionalities including basic text generation, custom character support, character validation, and edge cases.
All functions are noexcept - no exception handling used.
NOTE: Linter errors for ESP-IDF headers (ESP_LOGI, ESP_LOGE, etc.) are expected when ESP-IDF is not available in the linter environment. The code will compile correctly when ESP-IDF is properly set up.
| void app_main | ( | void | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |