| 641 | } |
| 642 | |
| 643 | static bool testMethod_insert() |
| 644 | { |
| 645 | std::cout << "testMethod_insert()\n"; |
| 646 | cm::String str = "abc"; |
| 647 | str.insert(1, 2, 'd').insert(0, 1, '_'); |
| 648 | ASSERT_TRUE(str.size() == 6); |
| 649 | ASSERT_TRUE(std::strncmp(str.data(), "_addbc", 6) == 0); |
| 650 | return true; |
| 651 | } |
| 652 | |
| 653 | static bool testMethod_erase() |
| 654 | { |