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

Function Y_UNIT_TEST

util/generic/xrange_ut.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 Y_UNIT_TEST(IncrementWorks) {
44 TestXRangeImpl(0, 10);
45 TestXRangeImpl(10, 20);
46 }
47
48 Y_UNIT_TEST(DecrementWorks) {
49 TestSteppedXRangeImpl(10, 0, -1, {10, 9, 8, 7, 6, 5, 4, 3, 2, 1});

Callers

nothing calls this directly

Calls 12

TestXRangeImplFunction · 0.85
TestSteppedXRangeImplFunction · 0.85
AccumulateFunction · 0.85
xrangeFunction · 0.85
TestEmptyRangesFunction · 0.85
NothingFunction · 0.85
beginFunction · 0.70
advanceFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected