| 149 | } |
| 150 | |
| 151 | void TCoroTest::TestSimpleX1() { |
| 152 | i0 = 0; |
| 153 | TContExecutor e(32000); |
| 154 | |
| 155 | UNIT_ASSERT(RunningCont() == nullptr); |
| 156 | |
| 157 | e.Execute(CoMain); |
| 158 | UNIT_ASSERT_VALUES_EQUAL(i0, 100000); |
| 159 | |
| 160 | UNIT_ASSERT(RunningCont() == nullptr); |
| 161 | } |
| 162 | |
| 163 | void TCoroTest::TestSimpleX1MultiThread() { |
| 164 | TVector<THolder<TThread>> threads; |
nothing calls this directly
no test coverage detected