| 15 | #include "../tests_common.h" |
| 16 | |
| 17 | TEST(ConcatAndInsertTests, ConcatNoInsertionTest) { |
| 18 | char b1[] = {'a', 'b'}; |
| 19 | char b2[] = {'c', 'd', 'e'}; |
| 20 | auto res = stream::concat_and_insert(0, 2, std::string_view {b1, sizeof(b1)}, std::string_view {b2, sizeof(b2)}); |
| 21 | auto expected = std::vector<uint8_t> {'a', 'b', 'c', 'd', 'e'}; |
| 22 | ASSERT_EQ(res, expected); |
| 23 | } |
| 24 | |
| 25 | TEST(ConcatAndInsertTests, ConcatLargeStrideTest) { |
| 26 | char b1[] = {'a', 'b'}; |
nothing calls this directly
no test coverage detected