From 3d69134a753fba7a2676f724111cbed742a35d43 Mon Sep 17 00:00:00 2001 From: Younies Mahmoud Date: Thu, 21 Mar 2024 13:13:19 +0000 Subject: [PATCH] ICU-22695 Fix gap in unit preferences See #2911 --- icu4c/source/test/testdata/cldr/units/unitPreferencesTest.txt | 3 +-- icu4c/source/test/testdata/cldr/units/unitsTest.txt | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/icu4c/source/test/testdata/cldr/units/unitPreferencesTest.txt b/icu4c/source/test/testdata/cldr/units/unitPreferencesTest.txt index d48a9680ce45..d7657dba63c5 100644 --- a/icu4c/source/test/testdata/cldr/units/unitPreferencesTest.txt +++ b/icu4c/source/test/testdata/cldr/units/unitPreferencesTest.txt @@ -22,7 +22,7 @@ # • no formatted with the skeleton # • no suppression of zero values (for secondary -and- units such as pound in stone-and-pound) # -# Generation: Set GENERATE_TESTS in TestUnits.java to regenerate unitPreferencesTest.txt. +# Generation: Use GenerateUnitTestData.java to regenerate unitPreferencesTest.txt. area; default; 001; 1100000; 1100000.0; square-meter; 11/10; 1.1; square-kilometer area; default; 001; 1000000; 1000000.0; square-meter; 1; 1.0; square-kilometer @@ -473,4 +473,3 @@ year-duration; person-age; 001; 1; 1.0; year; 1; year-person; 0; 0.0; month-pers year-duration; person-age; 001; 9/10; 0.9; year; 54/5; 10.8; month-person year-duration; person-age; 001; 1/12; 0.08333333333333333; year; 1; 1.0; month-person year-duration; person-age; 001; 3/40; 0.075; year; 9/10; 0.9; month-person - diff --git a/icu4c/source/test/testdata/cldr/units/unitsTest.txt b/icu4c/source/test/testdata/cldr/units/unitsTest.txt index ea4820078f88..c117457c8702 100644 --- a/icu4c/source/test/testdata/cldr/units/unitsTest.txt +++ b/icu4c/source/test/testdata/cldr/units/unitsTest.txt @@ -12,7 +12,7 @@ # round to 4 decimal digits before comparing. # Note that certain conversions are approximate, such as degrees to radians # -# Generation: Set GENERATE_TESTS in TestUnits.java to regenerate unitsTest.txt. +# Generation: Use GenerateUnitTestData.java to regenerate unitsTest.txt. acceleration ; meter-per-square-second ; meter-per-square-second ; 1 * x ; 1,000.00 acceleration ; g-force ; meter-per-square-second ; 9.80665 * x ; 9806.65 @@ -243,4 +243,4 @@ year-duration ; quarter ; year ; 0.25 * x ; 250.0 year-duration ; year ; year ; 1 * x ; 1,000.00 year-duration ; year-person ; year ; 1 * x ; 1000.0 year-duration ; decade ; year ; 10 * x ; 10000.0 -year-duration ; century ; year ; 100 * x ; 100000.0 +year-duration ; century ; year ; 100 * x ; 100000.0 \ No newline at end of file