#ifndef BASE_CONTAINERS_MAP_UTIL_UNITTEST_CC_
#define BASE_CONTAINERS_MAP_UTIL_UNITTEST_CC_
#include "base/containers/map_util.h"
#include <memory>
#include <string>
#include "base/containers/flat_map.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
AllOf;
Eq;
Pointee;
constexpr char kKey[] = …;
constexpr char kValue[] = …;
constexpr char kMissingKey[] = …;
StringToStringMap;
StringToStringPtrMap;
StringToStringUniquePtrMap;
TEST(MapUtilTest, FindOrNull) { … }
TEST(MapUtilTest, FindPtrOrNullForPointers) { … }
TEST(MapUtilTest, FindPtrOrNullForPointerLikeValues) { … }
}
}
#endif