| 245 | } |
| 246 | |
| 247 | static 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 | |
| 258 | static bool testConstructFromN() |
| 259 | { |