Describe origins of testdata/units/* in top-of-file comments.

This commit is contained in:
Hugo van der Merwe 2020-03-05 16:33:33 +01:00
parent 20eb23f89f
commit 0426092c00
2 changed files with 8 additions and 1 deletions

View file

@ -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
year-duration; person-age; 001; 3 / 40; 0.075; year; 9 / 10; 0.9; month-person

View file

@ -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