Home
last modified time | relevance | path

Searched refs:IsBreak (Results 1 – 1 of 1) sorted by relevance

/frameworks/minikin/tests/unittest/
DGraphemeBreakTests.cpp27 bool IsBreak(const char* src) { in IsBreak() function
46 EXPECT_FALSE(IsBreak("U+D83C | U+DC31")); // emoji, U+1F431 in TEST()
49 EXPECT_TRUE(IsBreak("U+D800 | U+D800")); // two leading surrogates in TEST()
50 EXPECT_TRUE(IsBreak("U+DC00 | U+DC00")); // two trailing surrogates in TEST()
51 EXPECT_TRUE(IsBreak("'a' | U+D800")); // lonely leading surrogate in TEST()
52 EXPECT_TRUE(IsBreak("U+DC00 | 'a'")); // lonely trailing surrogate in TEST()
53 EXPECT_TRUE(IsBreak("U+D800 | 'a'")); // leading surrogate followed by non-surrogate in TEST()
54 EXPECT_TRUE(IsBreak("'a' | U+DC00")); // non-surrogate followed by trailing surrogate in TEST()
59 EXPECT_TRUE(IsBreak("| 'a'")); in TEST()
60 EXPECT_TRUE(IsBreak("'a' |")); in TEST()
[all …]