| 305 | |
| 306 | template <typename I, typename C> |
| 307 | void TestStringSplitterCount(I* str, C delim, size_t good) { |
| 308 | auto split = StringSplitter(str).Split(delim); |
| 309 | size_t res = split.Count(); |
| 310 | UNIT_ASSERT_VALUES_EQUAL(res, good); |
| 311 | res = split.Count(); |
| 312 | UNIT_ASSERT_VALUES_EQUAL(res, 0); |
| 313 | } |
| 314 | |
| 315 | Y_UNIT_TEST_SUITE(StringSplitter) { |
| 316 | Y_UNIT_TEST(TestSplit) { |
no test coverage detected