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

Method TestIntStr

util/digest/multi_ut.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 inline void TestIntStr() {
21 UNIT_ASSERT_EQUAL(MultiHash(static_cast<int>(123), TString("1234567")), static_cast<size_t>(ULL(9973288649881090712)));
22 }
23
24 inline void TestSimpleCollision() {
25 UNIT_ASSERT_UNEQUAL(MultiHash(1, 1, 0), MultiHash(2, 2, 0));

Callers

nothing calls this directly

Calls 1

MultiHashFunction · 0.85

Tested by

no test coverage detected