From 1c2ca4047ff63a6e621ba89e5f698b50e8470cd2 Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Mon, 9 Dec 2024 19:17:40 +0100 Subject: [PATCH] A test --- .../text/UCD/AdditionComparisons/137.txt | 17 +++++++++++++++++ .../unicode/text/UCD/UnicodeInvariantTest.txt | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 unicodetools/src/main/resources/org/unicode/text/UCD/AdditionComparisons/137.txt diff --git a/unicodetools/src/main/resources/org/unicode/text/UCD/AdditionComparisons/137.txt b/unicodetools/src/main/resources/org/unicode/text/UCD/AdditionComparisons/137.txt new file mode 100644 index 000000000..f0b2b093f --- /dev/null +++ b/unicodetools/src/main/resources/org/unicode/text/UCD/AdditionComparisons/137.txt @@ -0,0 +1,17 @@ +# Jurchen ideographs and radicals (18E00..19191, 191A0..191D2) +# https://github.com/unicode-org/utc-release-management/issues/137 + +# Names always differ. +# Age always differs since these tests are comparing additions to pre-existing characters. +Ignoring Name Age: + +# Ignore the security and IDNA properties, as these are not yet included for provisionally assigned characters. +Ignoring Confusable_MA Identifier_Status Identifier_Type Idn_Status Idn_Mapping Idn_2008: + +Ignoring Block Script Script_Extensions kRSTUnicode kTGT_MergedSrc kJUR_NCReading kJurchenNumeric kRSJUnicode kJUR_Src: +Propertywise [\x{18D00} \x{18E00}-\x{19191}] AreAlike +end Ignoring; + +end Ignoring; + +end Ignoring; \ No newline at end of file diff --git a/unicodetools/src/main/resources/org/unicode/text/UCD/UnicodeInvariantTest.txt b/unicodetools/src/main/resources/org/unicode/text/UCD/UnicodeInvariantTest.txt index 472c0e411..70377b7f8 100644 --- a/unicodetools/src/main/resources/org/unicode/text/UCD/UnicodeInvariantTest.txt +++ b/unicodetools/src/main/resources/org/unicode/text/UCD/UnicodeInvariantTest.txt @@ -1296,6 +1296,13 @@ $tangutSourcesScope = [ [\p{gc=Lo} & \p{sc=Tangut}] - \p{name=/^TANGUT COMPONENT $tangutSourcesScope = \P{kTGT_MergedSrc=@none@} $tangutSourcesScope = \P{kRSTUnicode=@none@} +# Jurchen invariants + +Let $jurchenSourcesScope := [\p{Block=/^Jurchen(.Supplement)?$/} - \p{gc=Cn}] +$jurchenSourcesScope = [ [\p{gc=Lo} & \p{sc=Jurchen}] - \p{name=/^JURCHEN RADICAL-/} ] +$jurchenSourcesScope = \P{kJUR_Src=@none@} +$jurchenSourcesScope = \P{kRSJUnicode=@none@} + # Nüshu invariants Let $nüshuSourcesScope := [\p{Block=Nushu} - \p{gc=Cn}]