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

Function Y_UNIT_TEST

util/generic/guid_ut.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 };
22
23 Y_UNIT_TEST(Test1) {
24 for (size_t i = 0; i < 1000; ++i) {
25 TGUID g;
26
27 CreateGuid(&g);
28
29 UNIT_ASSERT_EQUAL(g, GetGuid(GetGuidAsString(g)));
30 }
31 }
32
33 Y_UNIT_TEST(Test2) {
34 const TTest tests[] = {

Callers

nothing calls this directly

Calls 11

CreateGuidFunction · 0.85
GetGuidFunction · 0.85
GetGuidAsStringFunction · 0.85
GetUuidFunction · 0.85
AsUuidStringMethod · 0.80
AsGuidStringMethod · 0.80
ConstructFunction · 0.70
TGUIDClass · 0.70
CreateFunction · 0.50
lengthMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected