MCPcopy Create free account
hub / github.com/alibaba/async_simple / TEST_F

Function TEST_F

async_simple/coro/test/GeneratorTest.cpp:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227};
228
229TEST_F(GeneratorTest, testIterator) {
230 size_t n = 15;
231 for (int j = 0; int i : fibonacci_sequence(n)) {
232 EXPECT_EQ(i, fibonacci_expected[j++]);
233 }
234}
235
236// FIXME: clang complile fail
237#ifndef __clang__

Callers

nothing calls this directly

Calls 5

fFunction · 0.85
to_stringFunction · 0.85
whatMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected