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

Function CheckFromString

tools/enum_parser/parse_enum/ut/enums.cpp:81–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80 template<typename T>
81 void CheckFromString(const TString& strValue, const T& value) {
82 UNIT_ASSERT_VALUES_EQUAL(static_cast<int>(FromString<T>(TStringBuf(strValue))), static_cast<int>(value));
83 }
84
85 template<typename T>
86 void CheckFromStringFail(const TString& strValue) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected