#include <map>
#include <string>
#include <vector>
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "components/language/content/browser/ulp_language_code_locator/s2langquadtree.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/s2cellid/src/s2/s2cellid.h"
#include "third_party/s2cellid/src/s2/s2latlng.h"
namespace language {
namespace {
#include "components/language/content/browser/ulp_language_code_locator/ulp_language_code_locator_helper.h"
}
const std::map<S2LatLng, std::string> GetData(int rank) { … }
void ExpectTreeContainsData(const S2LangQuadTreeNode& root,
const std::map<S2LatLng, std::string>& data) { … }
TEST(S2LangQuadTreeDataTest, TreeContainsDataRank0) { … }
TEST(S2LangQuadTreeDataTest, TreeContainsDataRank1) { … }
TEST(S2LangQuadTreeDataTest, TreeContainsDataRank2) { … }
}