From da8c407526402caf7762e3243e86e730ca8ec105 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Fri, 12 Apr 2024 20:13:50 -0700 Subject: [PATCH] ICU-22707 more vo=U: Egyp. hieroglyphs --- icu4c/source/test/intltest/ucdtest.cpp | 4 ++-- .../test/java/com/ibm/icu/dev/test/lang/UCharacterTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/test/intltest/ucdtest.cpp b/icu4c/source/test/intltest/ucdtest.cpp index 5acdfae7688d..dafaa96c423b 100644 --- a/icu4c/source/test/intltest/ucdtest.cpp +++ b/icu4c/source/test/intltest/ucdtest.cpp @@ -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, diff --git a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/lang/UCharacterTest.java b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/lang/UCharacterTest.java index 69207a4ae11d..4446d1f1a9e0 100644 --- a/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/lang/UCharacterTest.java +++ b/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/lang/UCharacterTest.java @@ -2754,9 +2754,9 @@ public void TestIndicSyllabicCategory() { @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,