MCPcopy Create free account
hub / github.com/Icinga/icinga2 / TEST

Function TEST

third-party/utf8cpp/tests/test_cpp17.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10TEST(CPP17APITests, test_utf16to8)
11{
12 u16string utf16string = {0x41, 0x0448, 0x65e5, 0xd834, 0xdd1e};
13 u16string_view utf16stringview(u16string);
14 string u = utf16to8(utf16string);
15 EXPECT_EQ (u.size(), 10);
16}
17
18TEST(CPP17APITests, test_utf8to16)
19{

Callers

nothing calls this directly

Calls 9

utf16to8Function · 0.50
utf8to16Function · 0.50
utf32to8Function · 0.50
utf8to32Function · 0.50
find_invalidFunction · 0.50
is_validFunction · 0.50
replace_invalidFunction · 0.50
starts_with_bomFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected