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

Function checkSubSlice

unitTests/test_slice.cpp:213–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212template <typename T>
213void checkSubSlice(const Slice<T>& sl) {
214 ASSERT_EQ(sl.at(1), sl.subSlice(1, sl.size()).at(0));
215}
216
217/*!
218 * Test that all slices can be also passed as const references and still work

Callers 1

TYPED_TEST_PFunction · 0.85

Calls 2

subSliceMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected