| 232 | }; |
| 233 | |
| 234 | static std::vector<char32_t> ToVector(std::string_view s) |
| 235 | { |
| 236 | std::vector<char32_t> codepoints; |
| 237 | for (auto codepoint : CodepointView(s)) |
| 238 | { |
| 239 | codepoints.push_back(codepoint); |
| 240 | } |
| 241 | return codepoints; |
| 242 | } |
| 243 | |
| 244 | static void AssertCodepoints(std::string_view s, const std::vector<char32_t>& expected) |
| 245 | { |
no test coverage detected