#include "components/language/content/browser/ulp_language_code_locator/ulp_language_code_locator.h"
#include <bitset>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "components/language/content/browser/ulp_language_code_locator/s2langquadtree.h"
#include "components/prefs/testing_pref_service.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 {
class UlpLanguageCodeLocatorTest : public testing::Test { … };
std::vector<std::unique_ptr<SerializedLanguageTree>> GetSerializedTrees() { … }
void ExpectLatLngHasLanguages(const UlpLanguageCodeLocator& locator,
S2CellId cell,
std::vector<std::string> languages_expected) { … }
TEST_F(UlpLanguageCodeLocatorTest, TreeLeaves) { … }
TEST_F(UlpLanguageCodeLocatorTest, Idempotence) { … }
TEST_F(UlpLanguageCodeLocatorTest, TreeLeafDescendants) { … }
}