Artem

Results 4 issues of Artem

Range matchers do not stringify ranges produced by synchronous co_yield generator. ```c++ #include #include #include TEST_CASE("fibonacci") { auto fibonacci = []() -> std::generator { T j = 0; T i...

Using Conan package `trompeloeil/48` and `gcc-14`. The code below ```c++ #include #include #include class Mock { public: MAKE_MOCK0(fibonacci,std::generator()); }; TEST_CASE("fibonacci 7") { Mock m; ALLOW_CALL(m, fibonacci()) .CO_YIELD(0) .CO_YIELD(1) .CO_YIELD(1) .CO_YIELD(2)...

Fixed on main

Coroutines may `co_yield` different types (even `void`). Due to coroutine operators `co_await`, `co_yield` and `co_return` must be inlined in the function body, the simplest approach is to use tuples: ```c++...

We still need a straight way to completely define mock implementation at least _as a fallback method_, especially for C++ coroutines. E.g. (by now, trompeloeil cannot handle such coroutines): ```c++...