#include <catch2/catch.hpp>#include <magic_enum/magic_enum.hpp>#include <magic_enum/magic_enum_iostream.hpp>#include <array>#include <cctype>#include <string_view>#include <sstream>
Go to the source code of this file.
Macros | |
| #define | CATCH_CONFIG_MAIN |
| #define | MAGIC_ENUM_USING_ALIAS_STRING using string = std::wstring; |
| #define | MAGIC_ENUM_USING_ALIAS_STRING_VIEW using string_view = std::wstring_view; |
Enumerations | |
| enum | Color { Color::RED = -10, Color::BLUE = 0, Color::GREEN = 10, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = -10, Color::BLUE = 0, Color::GREEN = 10, Color::RED, Color::BLUE, Color::GREEN, Color::RED = -12, Color::GREEN = 7, Color::BLUE = 15, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = 1, Color::GREEN = 2, Color::BLUE = 4, Color::RED = -12, Color::GREEN = 7, Color::BLUE = 15 } |
Functions | |
| TEST_CASE ("enum_cast") | |
| TEST_CASE ("enum_count") | |
| TEST_CASE ("enum_entries") | |
| TEST_CASE ("enum_name") | |
| TEST_CASE ("enum_names") | |
| TEST_CASE ("enum_values") | |
| TEST_CASE ("istream_operators") | |
| TEST_CASE ("ostream_operators") | |
| #define CATCH_CONFIG_MAIN |
Definition at line 23 of file test_wchar_t.cpp.
| #define MAGIC_ENUM_USING_ALIAS_STRING using string = std::wstring; |
Definition at line 27 of file test_wchar_t.cpp.
| #define MAGIC_ENUM_USING_ALIAS_STRING_VIEW using string_view = std::wstring_view; |
Definition at line 26 of file test_wchar_t.cpp.
|
strong |
| Enumerator | |
|---|---|
| RED | |
| BLUE | |
| GREEN | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| BLUE | |
| GREEN | |
| RED | |
| BLUE | |
| GREEN | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
| RED | |
| GREEN | |
| BLUE | |
Definition at line 36 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_cast" | ) |
Definition at line 51 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_count" | ) |
Definition at line 77 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_entries" | ) |
Definition at line 112 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_name" | ) |
Definition at line 82 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_names" | ) |
Definition at line 105 of file test_wchar_t.cpp.
| TEST_CASE | ( | "enum_values" | ) |
Definition at line 70 of file test_wchar_t.cpp.
| TEST_CASE | ( | "istream_operators" | ) |
Definition at line 135 of file test_wchar_t.cpp.
| TEST_CASE | ( | "ostream_operators" | ) |
Definition at line 119 of file test_wchar_t.cpp.