Home
last modified time | relevance | path

Searched refs:DataSubvector (Results 1 – 1 of 1) sorted by relevance

/external/bsdiff/
Dendsley_patch_writer_unittest.cc24 std::vector<uint8_t> DataSubvector(size_t start, size_t size) { in DataSubvector() function in bsdiff::EndsleyPatchWriterTest
105 DataSubvector(16U, 8)); // new_size in TEST_F()
110 DataSubvector(24U + 16, 8)); in TEST_F()
115 DataSubvector(24U + 24U + 5U + 16U, 8)); in TEST_F()
119 EXPECT_EQ(VectorFromString("abcde"), DataSubvector(24U + 24U, 5)); in TEST_F()
145 EXPECT_EQ(VectorFromString("abFGH"), DataSubvector(24U + 24U, 5)); in TEST_F()
146 EXPECT_EQ(VectorFromString("cdI"), DataSubvector(24U + 24U * 2 + 5, 3)); in TEST_F()
147 EXPECT_EQ(VectorFromString("eJ"), DataSubvector(24U + 24U * 3 + 8, 2)); in TEST_F()