#include "base/containers/flat_map.h"
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
#include "base/ranges/algorithm.h"
#include "base/test/move_only_int.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
ElementsAre;
namespace base {
namespace {
struct Unsortable { … };
bool operator==(const Unsortable& lhs, const Unsortable& rhs) { … }
bool operator<(const Unsortable& lhs, const Unsortable& rhs) = delete;
bool operator<=(const Unsortable& lhs, const Unsortable& rhs) = delete;
bool operator>(const Unsortable& lhs, const Unsortable& rhs) = delete;
bool operator>=(const Unsortable& lhs, const Unsortable& rhs) = delete;
class ImplicitInt { … };
}
TEST(FlatMap, IncompleteType) { … }
TEST(FlatMap, RangeConstructor) { … }
TEST(FlatMap, MoveConstructor) { … }
TEST(FlatMap, VectorConstructor) { … }
TEST(FlatMap, InitializerListConstructor) { … }
TEST(FlatMap, SortedRangeConstructor) { … }
TEST(FlatMap, SortedCopyFromVectorConstructor) { … }
TEST(FlatMap, SortedMoveFromVectorConstructor) { … }
TEST(FlatMap, SortedInitializerListConstructor) { … }
TEST(FlatMap, InitializerListAssignment) { … }
TEST(FlatMap, InsertFindSize) { … }
TEST(FlatMap, CopySwap) { … }
TEST(FlatMap, SubscriptConstKey) { … }
TEST(FlatMap, SubscriptMoveOnlyKey) { … }
TEST(FlatMap, AtFunction) { … }
TEST(FlatMap, InsertOrAssignMoveOnlyKey) { … }
TEST(FlatMap, InsertOrAssignMoveOnlyKeyWithHint) { … }
TEST(FlatMap, TryEmplaceMoveOnlyKey) { … }
TEST(FlatMap, TryEmplaceMoveOnlyKeyWithHint) { … }
TEST(FlatMap, UsingTransparentCompare) { … }
TEST(FlatMap, UsingInitializerList) { … }
TEST(FlatMap, DeductionGuides) { … }
}