ICU-1549 add test for Deseret (plane 1) lower/upper-casing (string-casing)
X-SVN-Rev: 7107
This commit is contained in:
parent
9c308d4c1a
commit
b285d652e2
@ -715,6 +715,24 @@ UnicodeStringTest::TestCaseConversion()
|
||||
}
|
||||
}
|
||||
|
||||
// test some supplementary characters (>= Unicode 3.1)
|
||||
{
|
||||
UnicodeString t;
|
||||
|
||||
UnicodeString
|
||||
deseretInput=UnicodeString("\\U0001043C\\U00010414", "").unescape(),
|
||||
deseretLower=UnicodeString("\\U0001043C\\U0001043C", "").unescape(),
|
||||
deseretUpper=UnicodeString("\\U00010414\\U00010414", "").unescape();
|
||||
t=deseretInput.toLower();
|
||||
if(t!=deseretLower) {
|
||||
errln("error lowercasing Deseret (plane 1) characters");
|
||||
}
|
||||
t=deseretInput.toUpper();
|
||||
if(t!=deseretUpper) {
|
||||
errln("error uppercasing Deseret (plane 1) characters");
|
||||
}
|
||||
}
|
||||
|
||||
// Unicode 3.1.1 SpecialCasing tests
|
||||
{
|
||||
UnicodeString t;
|
||||
|
Loading…
Reference in New Issue
Block a user