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

Method TestStrInt

util/digest/multi_ut.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15private:
16 inline void TestStrInt() {
17 UNIT_ASSERT_EQUAL(MultiHash(TString("1234567"), static_cast<int>(123)), static_cast<size_t>(ULL(17038203285960021630)));
18 }
19
20 inline void TestIntStr() {
21 UNIT_ASSERT_EQUAL(MultiHash(static_cast<int>(123), TString("1234567")), static_cast<size_t>(ULL(9973288649881090712)));

Callers

nothing calls this directly

Calls 1

MultiHashFunction · 0.85

Tested by

no test coverage detected