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

Method TestCut

util/generic/intrlist_ut.cpp:265–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void TListTest::TestCut() {
266 TestCutFront(1000, 500);
267 TestCutBack(1000, 500);
268 TestCutFront(1, 0);
269 TestCutBack(1, 0);
270 TestCutFront(1, 1);
271 TestCutBack(1, 1);
272 TestCutFront(2, 0);
273 TestCutBack(2, 0);
274 TestCutFront(2, 1);
275 TestCutBack(2, 1);
276 TestCutFront(2, 2);
277 TestCutBack(2, 2);
278}
279
280static void CheckIterationAfterAppend(const TMyList& l, size_t N, size_t M) {
281 TMyList::TConstIterator it = l.Begin();

Callers

nothing calls this directly

Calls 2

TestCutFrontFunction · 0.85
TestCutBackFunction · 0.85

Tested by

no test coverage detected