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

Method TestStringLiterals

util/generic/string_ut.cpp:873–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871 }
872
873 void TestStringLiterals() {
874 TUtf16String s1 = u"hello";
875 UNIT_ASSERT_VALUES_EQUAL(s1, TUtf16String::FromAscii("hello"));
876
877 TUtf16String s2 = u"привет";
878 UNIT_ASSERT_VALUES_EQUAL(s2, TUtf16String::FromUtf8("привет"));
879 }
880};
881
882UNIT_TEST_SUITE_REGISTRATION(TWideStringTest);

Callers

nothing calls this directly

Calls 2

FromAsciiFunction · 0.70
FromUtf8Function · 0.70

Tested by

no test coverage detected