mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 10:54:57 +00:00
LibUnicode: Check property list when deciding if a code point is cased
This commit is contained in:
parent
38adfd8874
commit
c45a014645
2 changed files with 23 additions and 3 deletions
|
@ -110,6 +110,14 @@ TEST_CASE(to_unicode_lowercase_special_casing_sigma)
|
|||
result = Unicode::to_unicode_lowercase_full("A\u03A3"sv);
|
||||
EXPECT_EQ(result, "a\u03C2");
|
||||
|
||||
// Sigma preceded by FEMININE ORDINAL INDICATOR
|
||||
result = Unicode::to_unicode_lowercase_full("\u00AA\u03A3"sv);
|
||||
EXPECT_EQ(result, "\u00AA\u03C2");
|
||||
|
||||
// Sigma preceded by ROMAN NUMERAL ONE
|
||||
result = Unicode::to_unicode_lowercase_full("\u2160\u03A3"sv);
|
||||
EXPECT_EQ(result, "\u2170\u03C2");
|
||||
|
||||
// Sigma preceded by A and MONGOLIAN VOWEL SEPARATOR
|
||||
result = Unicode::to_unicode_lowercase_full("A\u180E\u03A3"sv);
|
||||
EXPECT_EQ(result, "a\u180E\u03C2");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue