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

Function Check

library/cpp/yt/yson_string/unittests/convert_ut.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14template <class T, class R = T, class U>
15void Check(const U& value)
16{
17 auto str = ConvertToYsonString(static_cast<T>(value));
18 auto anotherValue = ConvertFromYsonString<R>(str);
19 EXPECT_EQ(static_cast<T>(value), anotherValue);
20}
21
22TEST(TConvertTest, Basic)
23{

Callers

nothing calls this directly

Calls 1

ConvertToYsonStringFunction · 0.85

Tested by

no test coverage detected