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

Function Y_UNIT_TEST

util/generic/bitops_ut.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46// DO_NOT_STYLE
47Y_UNIT_TEST_SUITE(TBitOpsTest) {
48 Y_UNIT_TEST(TestCountTrailingZeroBits) {
49 TestCTZ<unsigned int>();
50 TestCTZ<unsigned long>();
51 TestCTZ<unsigned long long>();
52 }
53
54 Y_UNIT_TEST(TestIsPowerOf2) {
55 UNIT_ASSERT(!IsPowerOf2(-2));

Callers

nothing calls this directly

Calls 10

MaskLowerBitsFunction · 0.85
InverseMaskLowerBitsFunction · 0.85
MostSignificantBitCTFunction · 0.85
LeastSignificantBitFunction · 0.85
CeilLog2Function · 0.85
ReverseBitsSlowFunction · 0.85
IsPowerOf2Function · 0.70
MostSignificantBitFunction · 0.70
ReverseBitsFunction · 0.70
TStringBuilderClass · 0.50

Tested by

no test coverage detected