| 244 | |
| 245 | |
| 246 | GeneratorWrapper<listpair> disjointsublists(GeneratorWrapper<int>&& gen, int sublen1, int sublen2) { |
| 247 | |
| 248 | vector<int> list; |
| 249 | do { list.push_back(gen.get()); } while (gen.next()); |
| 250 | |
| 251 | return GeneratorWrapper<listpair>( |
| 252 | Catch::Detail::make_unique<DisjointSublistsGenerator>( |
| 253 | list, sublen1, sublen2)); |
| 254 | } |
| 255 | |
| 256 | |
| 257 |
no test coverage detected