MCPcopy Create free account
hub / github.com/catboost/catboost / TestDelimiterOnRange

Function TestDelimiterOnRange

util/string/split_ut.cpp:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67template <template <typename> class TConsumer, typename TResult, typename I, typename TDelimiter>
68void TestDelimiterOnRange(TResult& good, I* b, I* e, const TDelimiter& delim) {
69 TResult test;
70 TConsumer<TResult> consumer(&test);
71 SplitString(b, e, delim, consumer);
72 Cmp(good, test);
73 UNIT_ASSERT_EQUAL(good, test);
74}
75
76template <typename TConsumer, typename TResult, typename I>
77void TestConsumerOnString(TResult& good, I* str, I* d) {

Callers

nothing calls this directly

Calls 2

CmpFunction · 0.85
SplitStringFunction · 0.70

Tested by

no test coverage detected