Home
last modified time | relevance | path

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

/external/pigweed/pw_kvs/
Dconverts_to_span_test.cc107 span<int> expected_span(vector.data(), vector.size()); in TEST() local
109 EXPECT_EQ(expected_span.data(), made_span.data()); in TEST()
110 EXPECT_EQ(expected_span.size(), made_span.size()); in TEST()
113 std::is_same<decltype(expected_span), decltype(made_span)>::value, in TEST()
123 span<int> expected_span(vector.data(), vector.size()); in TEST() local
125 EXPECT_EQ(expected_span.data(), made_span.data()); in TEST()
126 EXPECT_EQ(expected_span.size(), made_span.size()); in TEST()
129 std::is_same<decltype(expected_span), decltype(made_span)>::value, in TEST()
135 constexpr span<const int, 5> expected_span(kArray); in TEST() local
137 EXPECT_EQ(expected_span.data(), made_span.data()); in TEST()
[all …]
/external/pigweed/pw_span/
Dspan_test.cc1289 span<int> expected_span(vector.data(), vector.size());
1291 EXPECT_EQ(expected_span.data(), made_span.data());
1292 EXPECT_EQ(expected_span.size(), made_span.size());
1295 std::is_same<decltype(expected_span), decltype(made_span)>::value,
1306 span<int> expected_span(vector.data(), vector.size());
1308 EXPECT_EQ(expected_span.data(), made_span.data());
1309 EXPECT_EQ(expected_span.size(), made_span.size());
1312 std::is_same<decltype(expected_span), decltype(made_span)>::value,
1318 constexpr span<const int, 5> expected_span(kArray);
1320 EXPECT_EQ(expected_span.data(), made_span.data());
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2650 RepeatedField<int> expected_span; in HasSpanWithComment() local
2651 expected_span.Add(start_pos.first); in HasSpanWithComment()
2652 expected_span.Add(start_pos.second); in HasSpanWithComment()
2654 expected_span.Add(end_pos.first); in HasSpanWithComment()
2656 expected_span.Add(end_pos.second); in HasSpanWithComment()
2659 if (CompareSpans(expected_span, iter->second->span())) { in HasSpanWithComment()