MCPcopy Create free account
hub / github.com/Kitware/CMake / testConstructFromInputIterator

Function testConstructFromInputIterator

Tests/CMakeLib/testString.cxx:247–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247static bool testConstructFromInputIterator()
248{
249 std::cout << "testConstructFromInputIterator()\n";
250 cm::String const str(cstr, cstr + 3);
251 ASSERT_TRUE(str.data() != cstr);
252 ASSERT_TRUE(str.size() == 3);
253 ASSERT_TRUE(std::strncmp(str.data(), cstr, 3) == 0);
254 ASSERT_TRUE(str.is_stable());
255 return true;
256}
257
258static bool testConstructFromN()
259{

Callers

nothing calls this directly

Calls 3

is_stableMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…