| 256 | } |
| 257 | |
| 258 | static bool testConstructFromN() |
| 259 | { |
| 260 | std::cout << "testConstructFromN()\n"; |
| 261 | cm::String const str(3, 'a'); |
| 262 | ASSERT_TRUE(str.size() == 3); |
| 263 | ASSERT_TRUE(std::strncmp(str.data(), "aaa", 3) == 0); |
| 264 | ASSERT_TRUE(str.is_stable()); |
| 265 | return true; |
| 266 | } |
| 267 | |
| 268 | static auto const staticStringView = "abc"_s; |
| 269 |