Searched defs:IsBreak (Results 1 - 1 of 1) sorted by relevance

/frameworks/minikin/tests/unittest/
H A DGraphemeBreakTests.cpp23 bool IsBreak(const char* src) { function in namespace:minikin
42 EXPECT_FALSE(IsBreak("U+D83C | U+DC31")); // emoji, U+1F431
45 EXPECT_TRUE(IsBreak("U+D800 | U+D800")); // two leading surrogates
46 EXPECT_TRUE(IsBreak("U+DC00 | U+DC00")); // two trailing surrogates
47 EXPECT_TRUE(IsBreak("'a' | U+D800")); // lonely leading surrogate
48 EXPECT_TRUE(IsBreak("U+DC00 | 'a'")); // lonely trailing surrogate
49 EXPECT_TRUE(IsBreak("U+D800 | 'a'")); // leading surrogate followed by non-surrogate
50 EXPECT_TRUE(IsBreak("'a' | U+DC00")); // non-surrogate followed by trailing surrogate
55 EXPECT_TRUE(IsBreak("| 'a'"));
56 EXPECT_TRUE(IsBreak("'
[all...]

Completed in 53 milliseconds