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

Function JoinWithNewline

util/folder/iterator_ut.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <util/random/mersenne.h>
11
12static TString JoinWithNewline(const TVector<TString>& strings) {
13 TStringStream ss;
14 for (const auto& string : strings) {
15 ss << string << "\n";
16 }
17 return ss.Str();
18}
19
20class TDirIteratorTest: public TTestBase {
21 UNIT_TEST_SUITE(TDirIteratorTest);

Callers 1

TestSortMethod · 0.85

Calls 1

StrMethod · 0.45

Tested by 1

TestSortMethod · 0.68