Skip to content

Commit

Permalink
CLDR-17665 remove beaufort from GenerateUnitTestData.NOT_CONVERTABLE;…
Browse files Browse the repository at this point in the history
… 17665 (unicode-org#3741)
  • Loading branch information
pedberg-icu authored May 22, 2024
1 parent 9b13676 commit f2c32c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions common/testData/units/unitsTest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ mass ; ton ; kilogram ; 907.18474 * x ; 907184.7
mass ; tonne ; kilogram ; 1,000 * x ; 1000000.0
mass ; earth-mass ; kilogram ; 5,972,200,000,000,000,000,000,000 * x ; 5.9722E27
mass ; solar-mass ; kilogram ; 1,988,470,000,000,000,000,000,000,000,000 * x ; 1.98847E33
night-duration ; night ; night ; 1 * x ; 1,000.00
portion ; portion-per-1e9 ; portion ; 0.000000001 * x ; 1.0E-6
portion ; permillion ; portion ; 0.000001 * x ; 0.001
portion ; permyriad ; portion ; 0.0001 * x ; 0.1
portion ; permille ; portion ; 0.001 * x ; 1.0
Expand Down Expand Up @@ -187,6 +189,7 @@ speed ; kilometer-per-hour ; meter-per-second ; 2.5/9 * x ; 277.7778
speed ; mile-per-hour ; meter-per-second ; 0.44704 * x ; 447.04
speed ; knot ; meter-per-second ; 4.63/9 * x ; 514.4444
speed ; meter-per-second ; meter-per-second ; 1 * x ; 1,000.00
speed ; light-speed ; meter-per-second ; 299,792,458 * x ; 2.997925E11
substance-amount ; item ; item ; 1 * x ; 1,000.00
substance-amount ; mole ; item ; 602,214,076,000,000,000,000,000 * x ; 6.022141E26
temperature ; rankine ; kelvin ; 5/9 * x ; 555.5556
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class GenerateUnitTestData {
private static final SupplementalDataInfo SDI = SupplementalDataInfo.getInstance();
private static final UnitConverter converter = SDI.getUnitConverter();
private static final String TEST_SEP = ";\t";
private static final Set<String> NOT_CONVERTABLE = ImmutableSet.of("generic", "beaufort");
private static final Set<String> NOT_CONVERTABLE = ImmutableSet.of("generic");
private static final Rational R1000 = Rational.of(1000);

private static final Map<String, String> CORE_TO_TYPE;
Expand Down

0 comments on commit f2c32c2

Please sign in to comment.