MCPcopy Create free account
hub / github.com/comaps/comaps / MakeUniStringVector

Function MakeUniStringVector

libs/coding/coding_tests/huffman_test.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace
17{
18vector<strings::UniString> MakeUniStringVector(vector<string> const & v)
19{
20 vector<strings::UniString> result(v.size());
21 for (size_t i = 0; i < v.size(); ++i)
22 result[i] = strings::MakeUniString(v[i]);
23 return result;
24}
25
26void TestDecode(coding::HuffmanCoder const & h, uint32_t bits, uint32_t len, uint32_t expected)
27{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

MakeUniStringFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected