#include "rtc_base/containers/flat_map.h"
#include <algorithm>
#include <string>
#include <type_traits>
#include <vector>
#include "rtc_base/containers/move_only_int.h"
#include "test/gmock.h"
#include "test/gtest.h"
ElementsAre;
namespace webrtc {
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;
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, SupportsEraseIf) { … }
}
}