summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_matrix.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-20 10:29:03 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-20 10:29:03 +0800
commit8861bc3da5e49f0c0ae074593a72df3771d57ec6 (patch)
treef5353d3a87286157a46ed0cf220b8df2d5842e19 /tests/storage/test_matrix.cpp
parent6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7 (diff)
downloadlibpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.gz
libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.xz
libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.zip
rename functions
Diffstat (limited to 'tests/storage/test_matrix.cpp')
-rw-r--r--tests/storage/test_matrix.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/storage/test_matrix.cpp b/tests/storage/test_matrix.cpp
index d80b030..5602bd6 100644
--- a/tests/storage/test_matrix.cpp
+++ b/tests/storage/test_matrix.cpp
@@ -124,8 +124,7 @@ int main(int argc, char * argv[]) {
len = parser->parse(options, keys, key_rests,
linebuf, strlen(linebuf));
- fill_phonetic_key_matrix_from_chewing_keys
- (&matrix, keys, key_rests);
+ fill_matrix(&matrix, keys, key_rests);
resplit_step(options, &matrix);
@@ -137,7 +136,7 @@ int main(int argc, char * argv[]) {
printf("parsed %d chars, %d keys.\n", len, keys->len);
- dump_phonetic_key_matrix(&matrix);
+ dump_matrix(&matrix);
PhraseIndexRanges ranges;
memset(ranges, 0, sizeof(PhraseIndexRanges));