Skip to content

Commit

Permalink
ICU-22781 Add CLDR-18274 failing comments to portion unit formatting …
Browse files Browse the repository at this point in the history
…tests

See #3393
  • Loading branch information
younies committed Feb 12, 2025
1 parent 35c9778 commit e20b71a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions icu4c/source/test/intltest/numbertest_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6150,14 +6150,14 @@ void NumberFormatterApiTest::TestPortionFormat() {
{"portion-per-1e9", "en-US", 2, "2 parts per billion"},
{"portion-per-1e9", "en-US", 1000000, "1,000,000 parts per billion"},
{"portion-per-1e9", "de-DE", 1000000, "1.000.000 Milliardstel"},
{"portion-per-1e1", "en-US", 1, "UNKNOWN"},
{"portion-per-1e2", "en-US", 1, "UNKNOWN"},
{"portion-per-1e3", "en-US", 1, "UNKNOWN"},
{"portion-per-1e4", "en-US", 1, "UNKNOWN"},
{"portion-per-1e5", "en-US", 1, "UNKNOWN"},
{"portion-per-1e6", "en-US", 1, "UNKNOWN"},
{"portion-per-1e7", "en-US", 1, "UNKNOWN"},
{"portion-per-1e8", "en-US", 1, "UNKNOWN"},
{"portion-per-1e1", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e2", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e3", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e4", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e5", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e6", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e7", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e8", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
};

for (auto testCase : testCases) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7138,18 +7138,18 @@ class TestCase {
}

TestCase[] testCases = {
new TestCase("portion-per-1e9", "en-US", 1, "1 part per billion"),
new TestCase("portion-per-1e9", "en-US", 1, "1 part per billion"),
new TestCase("portion-per-1e9", "en-US", 2, "2 parts per billion"),
new TestCase("portion-per-1e9", "en-US", 1000000, "1,000,000 parts per billion"),
new TestCase("portion-per-1e9", "de-DE", 1000000, "1.000.000 Milliardstel"),
new TestCase("portion-per-1e1", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e2", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e3", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e4", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e5", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e6", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e7", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e8", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e1", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e2", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e3", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e4", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e5", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e6", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e7", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e8", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
};

for (TestCase testCase : testCases) {
Expand Down

0 comments on commit e20b71a

Please sign in to comment.