micro-test-plus 3.2.2
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::utility Namespace Reference

Utility functions for the µTest++ testing framework. More...

Functions

bool is_match (std::string_view input, std::string_view pattern)
 Check if a string matches a pattern.
template<class T, class Delim_T>
auto split (T input, Delim_T delim) -> std::vector< T >
 Split a string into a vector of sub-strings.

Detailed Description

The micro_os_plus::micro_test_plus::utility namespace provides a suite of helper functions designed to support advanced string operations and other common tasks within the µTest++ framework.

These utilities include functions for pattern matching—such as verifying whether a string matches a specified pattern—and for splitting strings into sub-strings based on delimiters. The implementations are efficient and suitable for both embedded and general C++ projects.

By encapsulating these helper functions within a dedicated namespace, the framework maintains clear code organisation and minimises naming conflicts.