| 634 | // a COMPILER ERROR (not silent skipping). |
| 635 | template<typename Container> |
| 636 | void test_sequential_container_resize() { |
| 637 | Container c; |
| 638 | populate(c, make_shared_int(1)); |
| 639 | populate(c, make_shared_int(2)); |
| 640 | |
| 641 | // Resize up - COMPILER ERROR if resize() doesn't exist |
| 642 | c.resize(4); |
| 643 | FL_CHECK(c.size() == 4); |
| 644 | |
| 645 | // Resize down |
| 646 | c.resize(2); |
| 647 | FL_CHECK(c.size() == 2); |
| 648 | } |
| 649 | |
| 650 | // ============================================================================ |
| 651 | // TIER 3 Tests: Capacity Management |
nothing calls this directly
no test coverage detected