| 783 | |
| 784 | template<typename Container> |
| 785 | void test_container_reverse_iteration_contract() { |
| 786 | Container c; |
| 787 | c.push_back(10); |
| 788 | c.push_back(20); |
| 789 | c.push_back(30); |
| 790 | |
| 791 | // Test rbegin() and rend() |
| 792 | FL_CHECK(c.rbegin() != c.rend()); |
| 793 | |
| 794 | // Test reverse iterator dereference (should point to last element) |
| 795 | FL_CHECK(*c.rbegin() == 30); |
| 796 | } |
| 797 | |
| 798 | template<typename Container> |
| 799 | void test_container_const_iterator_contract() { |