| 86 | |
| 87 | template <typename TConsumer, typename TResult, typename I> |
| 88 | void TestConsumerOnRange(TResult& good, I* b, I* e, I* d) { |
| 89 | TResult test; |
| 90 | TContainerConsumer<TResult> consumer(&test); |
| 91 | TConsumer tested(&consumer); |
| 92 | TCharDelimiter<const I> delim(*d); |
| 93 | SplitString(b, e, delim, tested); |
| 94 | Cmp(good, test); |
| 95 | UNIT_ASSERT_EQUAL(good, test); |
| 96 | } |
| 97 | |
| 98 | using TStrokaConsumer = TContainerConsumer<TVector<TString>>; |
| 99 |
nothing calls this directly
no test coverage detected