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

Method TestToUpper

util/charset/wide_ut.cpp:928–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926 }
927
928 void TestToUpper() {
929 const size_t n = 32;
930 wchar16 lowerCase[n];
931 std::copy(wideCyrillicAlphabet + n, wideCyrillicAlphabet + n * 2, lowerCase);
932 ToUpper(lowerCase, n);
933 UNIT_ASSERT(TWtringBuf(lowerCase, n) == TWtringBuf(wideCyrillicAlphabet, n));
934 }
935
936 void TestWideString() {
937 const TUtf16String original = UTF32ToWide(WideStringTestData[0], CaseTestDataSize);

Callers

nothing calls this directly

Calls 2

ToUpperFunction · 0.70
copyFunction · 0.50

Tested by

no test coverage detected