// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/base/span.h" #include <stdint.h> #include <array> #include <utility> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" ElementsAre; ElementsAreArray; namespace { constexpr char kSampleBytes[] = …; const uint8_t* kSampleData = …; constexpr size_t kSampleSize = …; // Ignore null terminator. } // namespace namespace openscreen { TEST(SpanTest, TestBasics) { … } TEST(SpanTest, TestIterators) { … } TEST(SpanTest, TestRemove) { … } TEST(SpanTest, ConstConversions) { … } } // namespace openscreen