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

Method TestSimpleX2

library/cpp/coroutine/engine/coroutine_ut.cpp:208–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void TCoroTest::TestSimpleX2() {
209 {
210 i0 = 0;
211
212 {
213 TContExecutor e(32000);
214 e.Execute(CoMain);
215 }
216
217 UNIT_ASSERT_EQUAL(i0, 100000);
218 }
219
220 {
221 i0 = 0;
222
223 {
224 TContExecutor e(32000);
225 e.Execute(CoMain);
226 }
227
228 UNIT_ASSERT_EQUAL(i0, 100000);
229 }
230}
231
232struct TRunner {
233 inline TRunner()

Callers

nothing calls this directly

Calls 1

ExecuteMethod · 0.45

Tested by

no test coverage detected