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

Method TestLetOperator

util/generic/string_ut.cpp:1057–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055 }
1056
1057 void TestLetOperator() {
1058 TUtf32String str;
1059
1060 str = wchar32('X');
1061 UNIT_ASSERT(str == TUtf32String::FromAscii("X"));
1062
1063 const TUtf32String hello = TUtf32String::FromAscii("hello");
1064 str = hello.data();
1065 UNIT_ASSERT(str == hello);
1066
1067 str = hello;
1068 UNIT_ASSERT(str == hello);
1069 }
1070
1071 void TestStringLiterals() {
1072 TUtf32String s1 = U"hello";

Callers

nothing calls this directly

Calls 2

FromAsciiFunction · 0.70
dataMethod · 0.45

Tested by

no test coverage detected