#include "base/containers/extend.h"
#include <initializer_list>
#include <type_traits>
#include <utility>
#include <vector>
#include "base/containers/span.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
ElementsAre;
struct NonCopyable { … };
bool operator==(const NonCopyable& a, const NonCopyable& b) { … }
static_assert …;
static_assert …;
struct CopyableMovable { … };
bool operator==(const CopyableMovable& a, const CopyableMovable& b) { … }
}
TEST(ExtendTest, ExtendWithMove) { … }
TEST(ExtendTest, ExtendCopyableWithMove) { … }
TEST(ExtendTest, ExtendWithCopy) { … }
TEST(ExtendTest, ExtendWithSpan) { … }
}