#include <stddef.h>
#include <string>
#include <vector>
#include "base/i18n/break_iterator.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "components/omnibox/browser/tailored_word_break_iterator.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
struct Piece { … };
void VerifyBreaks(std::u16string str, std::vector<Piece> expected_pieces) { … }
}
TEST(TailoredWordBreakIterator, BreakWord) { … }
TEST(TailoredWordBreakIterator, TrailingUnderscore) { … }
TEST(TailoredWordBreakIterator, RepeatingUnderscore) { … }
TEST(TailoredWordBreakIterator, Numerics) { … }
TEST(TailoredWordBreakIterator, NumericsAndUnderscores) { … }