Home
last modified time | relevance | path

Searched refs:getTrieTable (Results 1 – 4 of 4) sorted by relevance

/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTableTest.java21 assertThat(getTrieTable(table)).containsExactly("en-en", 23); in testSimpleMapping()
31 assertThat(getTrieTable(table)) in testReverseMapping()
46 assertThat(getTrieTable(table)) in testMinRegionDistance()
68 assertThat(getTrieTable(table)) in testSkipScript()
87 assertThat(getTrieTable(table)) in testFirstOneWins()
160 public ImmutableMap<String, Integer> getTrieTable(DistanceTable table) { in getTrieTable() method in DistanceTableTest
162 … return TestData.getTrieTable(new BytesTrie(table.getTrie().toByteArray(), 0), "*-*", i -> i); in getTrieTable()
DLikelySubtagsBuilderTest.java87 assertThat(getTrieTable(subtags)) in testLikelySubtags()
102 private static ImmutableMap<String, LSR> getTrieTable(XLikelySubtags.Data subtags) { in getTrieTable() method in LikelySubtagsBuilderTest
104 return TestData.getTrieTable(new BytesTrie(subtags.trie, 0), "*", i -> subtags.lsrs[i]); in getTrieTable()
DTestData.java124 …static <T> ImmutableMap<String, T> getTrieTable(BytesTrie trie, String star, Function<Integer, T> … in getTrieTable() method in TestData
DLocaleDistanceMapperTest.java261 return TestData.getTrieTable(getTrie(icuData, path), star, i -> i); in getTrieMap()