MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / checkConstSliceIterator

Function checkConstSliceIterator

unitTests/test_slice.cpp:206–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 */
205template <typename T>
206void checkConstSliceIterator(const Slice<T>& sl, typename Slice<T>::value_type first_value) {
207 for (auto it = sl.cbegin(); it < sl.cend(); ++it) {
208 ASSERT_EQ(*it, first_value++);
209 }
210}
211
212template <typename T>
213void checkSubSlice(const Slice<T>& sl) {

Callers 1

TYPED_TEST_PFunction · 0.85

Calls 2

cbeginMethod · 0.80
cendMethod · 0.80

Tested by

no test coverage detected