Home
last modified time | relevance | path

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

/system/bt/gd/packet/
Dpacket_view_unittest.cc349 auto subrange = all.Subrange(0, 1); in TYPED_TEST() local
350 ASSERT_EQ(1, subrange.NumBytesRemaining()); in TYPED_TEST()
351 ASSERT_EQ(*(subrange), 0); in TYPED_TEST()
353 subrange = this->packet->begin().Subrange(0, 4); in TYPED_TEST()
354 ASSERT_EQ(4, subrange.NumBytesRemaining()); in TYPED_TEST()
355 ASSERT_EQ(*(subrange + 1), 1); in TYPED_TEST()
357 subrange = all.Subrange(0, 3); in TYPED_TEST()
358 ASSERT_EQ(3, subrange.NumBytesRemaining()); in TYPED_TEST()
359 ASSERT_EQ(*(subrange + 1), 1); in TYPED_TEST()
361 subrange = all.Subrange(0, all.NumBytesRemaining() - 1); in TYPED_TEST()
[all …]