| 570 | } |
| 571 | |
| 572 | static bool testMethod_length() |
| 573 | { |
| 574 | std::cout << "testMethod_length()\n"; |
| 575 | cm::String str; |
| 576 | ASSERT_TRUE(str.length() == 0); |
| 577 | str = ""; |
| 578 | ASSERT_TRUE(str.length() == 0); |
| 579 | str = "abc"; |
| 580 | ASSERT_TRUE(str.length() == 3); |
| 581 | str = std::string(); |
| 582 | ASSERT_TRUE(str.length() == 0); |
| 583 | str = std::string("abc"); |
| 584 | ASSERT_TRUE(str.length() == 3); |
| 585 | return true; |
| 586 | } |
| 587 | |
| 588 | static bool testMethod_at() |
| 589 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…