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

Method TestLetOperator

util/generic/string_ut.cpp:859–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857 }
858
859 void TestLetOperator() {
860 TUtf16String str;
861
862 str = wchar16('X');
863 UNIT_ASSERT(str == TUtf16String::FromAscii("X"));
864
865 const TUtf16String hello = TUtf16String::FromAscii("hello");
866 str = hello.data();
867 UNIT_ASSERT(str == hello);
868
869 str = hello;
870 UNIT_ASSERT(str == hello);
871 }
872
873 void TestStringLiterals() {
874 TUtf16String s1 = u"hello";

Callers

nothing calls this directly

Calls 2

FromAsciiFunction · 0.70
dataMethod · 0.45

Tested by

no test coverage detected