Test functionality from string_func.
More...
#include "../stdafx.h"
#include "../3rdparty/catch2/catch.hpp"
#include "../string_func.h"
Go to the source code of this file.
|
| TEST_CASE ("StrCompareIgnoreCase - std::string") |
|
| TEST_CASE ("StrCompareIgnoreCase - char pointer") |
|
| TEST_CASE ("StrCompareIgnoreCase - std::string_view") |
|
| TEST_CASE ("StrEqualsIgnoreCase - std::string") |
|
| TEST_CASE ("StrEqualsIgnoreCase - char pointer") |
|
| TEST_CASE ("StrEqualsIgnoreCase - std::string_view") |
|
| TEST_CASE ("StrStartsWithIgnoreCase - std::string") |
|
| TEST_CASE ("StrStartsWithIgnoreCase - char pointer") |
|
| TEST_CASE ("StrStartsWithIgnoreCase - std::string_view") |
|
| TEST_CASE ("StrEndsWithIgnoreCase - std::string") |
|
| TEST_CASE ("StrEndsWithIgnoreCase - char pointer") |
|
| TEST_CASE ("StrEndsWithIgnoreCase - std::string_view") |
|
| TEST_CASE ("FormatArrayAsHex") |
|
| TEST_CASE ("ConvertHexToBytes") |
|
| TEST_CASE ("StrTrimInPlace") |
|
| TEST_CASE ("StrTrimView") |
|
|
static const std::vector< std::pair< std::string, std::string > > | _str_trim_testcases |
|
Test functionality from string_func.
Definition in file string_func.cpp.
◆ _str_trim_testcases
const std::vector<std::pair<std::string, std::string> > _str_trim_testcases |
|
static |
Initial value:= {
{"a", "a"},
{" a", "a"},
{"a ", "a"},
{" a ", "a"},
{" a b c ", "a b c"},
{" ", ""}
}
Definition at line 388 of file string_func.cpp.