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

Method CheckOK

util/string/cast_ut.cpp:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55 template <class B>
56 inline void CheckOK(B v) {
57 UNIT_ASSERT_VALUES_EQUAL(FromString<A>(ToString(v)), v); // char
58 UNIT_ASSERT_VALUES_EQUAL(FromString<A>(ToWtring(v)), v); // wide char
59 HEX_MACROS_MAP(OK_HEX_CHECK, A, v);
60 }
61
62 template <class B>
63 inline void CheckExc(B v) {

Callers

nothing calls this directly

Calls 2

ToWtringFunction · 0.85
ToStringFunction · 0.70

Tested by

no test coverage detected