From: Hugo van der Merwe <17109322+hugovdm@users.noreply.github.com> Date: Thu, 5 Mar 2020 15:33:33 +0000 (+0100) Subject: Describe origins of testdata/units/* in top-of-file comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0426092c0065ef31f75f47898be613a4b30ae07c;p=icu Describe origins of testdata/units/* in top-of-file comments. --- diff --git a/icu4c/source/test/testdata/units/unitPreferencesTest.txt b/icu4c/source/test/testdata/units/unitPreferencesTest.txt index b6983f0ea81..dd7518789d6 100644 --- a/icu4c/source/test/testdata/units/unitPreferencesTest.txt +++ b/icu4c/source/test/testdata/units/unitPreferencesTest.txt @@ -1,3 +1,7 @@ +# This file is a copy of common/testData/units/unitPreferencesTest.txt from +# CLDR. +# TODO(hugovdm): determine a good update procedure and document it. +# # Test data for unit preferences # Format: # Quantity; Usage; Region; Input (r); Input (d); Input Unit; Output (r); Output (d); Output Unit @@ -430,4 +434,4 @@ year-duration; person-age; 001; 2 / 5; 0.4; year; 2; year-person; year-duration; person-age; 001; 0; 0.0; year; 1; year-person; 0; 0.0; month-person 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 \ No newline at end of file +year-duration; person-age; 001; 3 / 40; 0.075; year; 9 / 10; 0.9; month-person diff --git a/icu4c/source/test/testdata/units/unitsTest.txt b/icu4c/source/test/testdata/units/unitsTest.txt index 9e23b87611e..b648cc5f2a4 100644 --- a/icu4c/source/test/testdata/units/unitsTest.txt +++ b/icu4c/source/test/testdata/units/unitsTest.txt @@ -1,3 +1,6 @@ +# This file is a copy of common/testData/units/unitsTest.txt from CLDR. +# TODO(hugovdm): determine a good update procedure and document it. +# # Test data for unit conversions # Format: # Quantity ; x ; y ; conversion to y (rational) ; test: 1000 x ⟹ y