MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / testWhile

Function testWhile

tests/EduCoroutineExprTest.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131task<int> testWhile()
132{
133 task<int> v = get_random();
134
135 while(co_await v) {
136 int y{};
137 }
138
139 co_return 0;
140}
141
142task<int> testDoWhile()
143{

Callers

nothing calls this directly

Calls 1

get_randomFunction · 0.70

Tested by

no test coverage detected