summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-01-12 12:31:10 +0800
committerPeng Wu <alexepico@gmail.com>2012-01-12 12:31:10 +0800
commit02a72ed015fe1ede3a718013231e4c3e20f29426 (patch)
tree29826dd0730034cb1605cb531be4bc9b7f27739f /tests
parent2d4a9aa1e2c76e6099a580cfccf73d5971eecf6a (diff)
downloadlibpinyin-02a72ed015fe1ede3a718013231e4c3e20f29426.tar.gz
libpinyin-02a72ed015fe1ede3a718013231e4c3e20f29426.tar.xz
libpinyin-02a72ed015fe1ede3a718013231e4c3e20f29426.zip
update test pinyin lookup
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index 4607b5b..148b15b 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -6,7 +6,8 @@ size_t bench_times = 100;
int main( int argc, char * argv[]){
- pinyin_option_t options = USE_TONE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL;
+ pinyin_option_t options =
+ USE_TONE | USE_RESPLIT_TABLE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL;
FacadeChewingTable largetable;
MemoryChunk * new_chunk = new MemoryChunk;