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

Function GenerateDeepJsonDict

library/cpp/json/ut/json_reader_ut.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void GenerateDeepJsonDict(TStringStream& stream, ui64 depth) {
81 for (ui64 i = 0; i < depth - 1; ++i) {
82 stream << "{\"key\":";
83 }
84 stream << "{}";
85 for (ui64 i = 0; i < depth - 1; ++i) {
86 stream << "}";
87 }
88}
89
90Y_UNIT_TEST_SUITE(TJsonReaderTest) {
91 Y_UNIT_TEST(JsonReformatTest) {

Callers 1

Y_UNIT_TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected