ICU-11094 Add unit tests

This commit is contained in:
Frank Tang 2019-03-11 13:27:44 -07:00 committed by Frank Yung-Fong Tang
parent 2232a2b81e
commit 9db061f355

View File

@ -426,6 +426,19 @@ public final class UCharacterCaseTest extends TestFmwk
}
}
@Test
public void TestLithuanianTitle() {
ULocale LOC_LITHUANIAN = new ULocale("lt");
assertEquals("Lithuanian titlecase check in Lithuanian",
"\u0058\u0069\u0307\u0308",
UCharacter.toTitleCase(LOC_LITHUANIAN, "\u0058\u0049\u0308", null));
assertEquals("Lithuanian titlecase check in Lithuanian",
"\u0058\u0069\u0307\u0308",
UCharacter.toTitleCase(LITHUANIAN_LOCALE_, "\u0058\u0049\u0308", null));
}
@Test
public void TestDutchTitle() {
ULocale LOC_DUTCH = new ULocale("nl");