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

Method TestJoinRescheduleBug

library/cpp/coroutine/engine/coroutine_ut.cpp:838–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838void TCoroTest::TestJoinRescheduleBug() {
839 using namespace NCoroTestJoinRescheduleBug;
840 TState state;
841 {
842 TContExecutor exec(20000);
843 exec.Execute(DoMain, &state);
844 }
845 UNIT_ASSERT_EQUAL(state.SubAState, EState::Finished);
846 UNIT_ASSERT_EQUAL(state.SubBState, EState::Finished);
847 UNIT_ASSERT_EQUAL(state.SubCState, EState::Finished);
848}
849
850void TCoroTest::TestEventQueue() {
851 NCoro::TEventWaitQueue queue;

Callers

nothing calls this directly

Calls 1

ExecuteMethod · 0.45

Tested by

no test coverage detected