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

Method TestSimpleX3

library/cpp/coroutine/engine/coroutine_ut.cpp:246–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244};
245
246void TCoroTest::TestSimpleX3() {
247 TContExecutor e(32000);
248 TRunner runner;
249
250 for (volatile size_t i3 = 0; i3 < 1000; ++i3) {
251 e.Create(runner, "runner");
252 }
253
254 e.Execute();
255
256 UNIT_ASSERT_EQUAL(runner.Runs, 1000);
257}
258
259static TString res;
260static TContMutex mutex;

Callers

nothing calls this directly

Calls 2

CreateMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected