MCPcopy Create free account
hub / github.com/catboost/catboost / TestStringLiterals

Method TestStringLiterals

util/generic/string_ut.cpp:1071–1077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069 }
1070
1071 void TestStringLiterals() {
1072 TUtf32String s1 = U"hello";
1073 UNIT_ASSERT_VALUES_EQUAL(s1, TUtf32String::FromAscii("hello"));
1074
1075 TUtf32String s2 = U"привет";
1076 UNIT_ASSERT_VALUES_EQUAL(s2, TUtf32String::FromUtf8("привет"));
1077 }
1078};
1079
1080UNIT_TEST_SUITE_REGISTRATION(TUtf32StringTest);

Callers

nothing calls this directly

Calls 2

FromAsciiFunction · 0.70
FromUtf8Function · 0.70

Tested by

no test coverage detected