Improvements to unitTest.txt for beaufort and possibly other scales

Description

Currently the way that ICU uses unitsTest.txt, it assumes that source units convert from 1000 to the specified value in the base unit, and can then convert back. Bit for beaufort, the maximum scale value is 17, so a value of 1000 is treated as a7, then converted to a corresponding m/s value; converting tha back yields 17, not 1000.

 

Perhaps the test file needs an optional separate field for the result of the back conversion

Activity

Show:

Annemarie Apple 🍎 March 27, 2024 at 4:46 PM

Accepted per CLDR TC meeting 2024-03-27 since this only affects test data. This can be punted to 46 if there is not enough time.

Mark Davis March 13, 2024 at 8:25 PM

Yes, I think we might want some extra information for “lossy” conversions.

Details

Components

Priority

Fix versions

Assignee

Reporter

Created March 13, 2024 at 8:05 PM
Updated January 19, 2025 at 9:42 PM