| 9 | |
| 10 | template<class IterResult, class IterExpect> |
| 11 | static void check_equal( IterResult beg_res, IterResult end_res, |
| 12 | IterExpect beg_exp, IterExpect end_exp ) |
| 13 | { |
| 14 | CHECK( std::distance( beg_res, end_res ) == std::distance( beg_exp, end_exp ) ); |
| 15 | IterResult result = beg_res; |
| 16 | IterExpect expect = beg_exp; |
| 17 | for( ; result != end_res && expect != end_exp; ++result, ++expect ) { |
| 18 | CHECK( *result == *expect ); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | TEST_CASE( "fold-string" ) |
| 23 | { |
no test coverage detected