36 auto txt_break = CreateBreak();
37 txt_break->SetLineBreakTolerance(1);
38 txt_break->SetFontSize(12);
40 WideString input = WideString
::FromUTF8(ByteStringView(
"\xa\x0\xa\xa", 4));
41 for (
wchar_t ch : input)
42 txt_break->AppendChar(ch);
44 std::vector<CFGAS_Char> chars =
45 txt_break->GetCurrentLineForTesting()->m_LineChars;
46 CFGAS_Char::BidiLine(&chars, chars.size());
47 EXPECT_EQ(3u, chars.size());