chromium/components/language/content/browser/ulp_language_code_locator/s2langquadtree_unittest.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/language/content/browser/ulp_language_code_locator/s2langquadtree.h"

#include <string>
#include <vector>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/s2cellid/src/s2/s2cellid.h"

namespace {

template <size_t numbits>
S2LangQuadTreeNode GetTree(const std::vector<std::string>& languages,
                           std::bitset<numbits> tree) {}

}  // namespace

namespace language {

TEST(S2LangQuadTreeTest, RootIsEmptyLeaf) {}

TEST(S2LangQuadTreeTest, RootIsLeaf_FaceIsPresent) {}

TEST(S2LangQuadTreeTest, RootIsLeaf_FaceChildGetsFaceLanguage) {}

TEST(S2LangQuadTreeTest, RootThenSingleLeaf_LeafIsPresent) {}

TEST(S2LangQuadTreeTest, RootThenSingleLeaf_ParentIsAbsent) {}

TEST(S2LangQuadTreeTest, RootThenSingleLeaf_SiblingIsAbsent) {}

TEST(S2LangQuadTreeTest, RootThenAllLeaves_LeavesArePresent) {}

TEST(S2LangQuadTreeTest, RootThenAllLeaves_ParentIsAbsent) {}

}  // namespace language