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

Function UNIT_TEST

libs/coding/coding_tests/value_opt_string_test.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41} // namespace
42
43UNIT_TEST(StringNumericOptimal_Zero)
44{
45 int t1 = 0;
46 TestStringCodingT(&t1, 1, 1); // should be coded as VarUint
47
48 std::string t2 = "01";
49 TestStringCodingT(&t2, 1, 3); // should be coded as String
50}
51
52UNIT_TEST(StringNumericOptimal_IntCoding1)
53{

Callers

nothing calls this directly

Calls 1

TestStringCodingTFunction · 0.85

Tested by

no test coverage detected