#include "third_party/libaddressinput/chromium/trie.h"
#include <stdint.h>
#include <set>
#include <string>
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace {
std::vector<uint8_t> ToByteArray(const std::string& text) { … }
}
TEST(TrieTest, EmptyTrieHasNoData) { … }
TEST(TrieTest, CanGetDataByExactKey) { … }
TEST(TrieTest, CanGetDataByPrefix) { … }
TEST(TrieTest, KeyTooLongNoData) { … }
TEST(TrieTest, CommonPrefixFindsMultipleData) { … }
TEST(TrieTest, KeyCanBePrefixOfOtherKey) { … }
TEST(TrieTest, AllowMutlipleKeys) { … }
TEST(TrieTest, CanFindVeryLongKey) { … }
}