ICU-22707 more vo=U: Egyp. hieroglyphs

This commit is contained in:
Markus Scherer 2024-04-12 20:13:50 -07:00
parent ba1ecef7de
commit 5416451ae2
2 changed files with 4 additions and 4 deletions

View file

@ -758,9 +758,9 @@ void UnicodeTest::TestIndicSyllabicCategory() {
void UnicodeTest::TestVerticalOrientation() {
IcuTestErrorCode errorCode(*this, "TestVerticalOrientation()");
UnicodeSet r(u"[:vo=R:]", errorCode);
assertTrue("mostly R", 0xc0000 <= r.size() && r.size() <= 0xd0000);
assertTrue("mostly R", 0xb0000 <= r.size() && r.size() <= 0xd0000);
UnicodeSet u(u"[:vo=U:]", errorCode);
assertTrue("much U", 0x40000 <= u.size() && u.size() <= 0x50000);
assertTrue("much U", 0x40000 <= u.size() && u.size() <= 0x60000);
UnicodeSet tu(u"[:vo=Tu:]", errorCode);
assertTrue("some Tu", 147 <= tu.size() && tu.size() <= 300);
assertEquals("U+0E01: Rotated", U_VO_ROTATED,

View file

@ -2754,9 +2754,9 @@ public final class UCharacterTest extends CoreTestFmwk
@Test
public void TestVerticalOrientation() {
UnicodeSet r = new UnicodeSet("[:vo=R:]");
assertTrue("mostly R", 0xc0000 <= r.size() && r.size() <= 0xd0000);
assertTrue("mostly R", 0xb0000 <= r.size() && r.size() <= 0xd0000);
UnicodeSet u = new UnicodeSet("[:vo=U:]");
assertTrue("much U", 0x40000 <= u.size() && u.size() <= 0x50000);
assertTrue("much U", 0x40000 <= u.size() && u.size() <= 0x60000);
UnicodeSet tu = new UnicodeSet("[:vo=Tu:]");
assertTrue("some Tu", 147 <= tu.size() && tu.size() <= 300);
assertEquals("U+0E01: Rotated", UCharacter.VerticalOrientation.ROTATED,