summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-08-08 13:22:14 +0800
committerPeng Wu <alexepico@gmail.com>2013-08-08 13:22:14 +0800
commita50ef850d4f8af898317e7a7834083f8e30532f1 (patch)
treecd43f9ef1a49ef43a21530072672fdf3bb7ebd17 /tests
parent314568bc3dee76b2fc4a0f7f1ea7d06b4ca48bde (diff)
downloadlibzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.tar.gz
libzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.tar.xz
libzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.zip
update codes
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp2
-rw-r--r--tests/storage/test_parser2.cpp2
-rw-r--r--tests/test_pinyin.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index 3175db0..5c1d63a 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -37,7 +37,7 @@ int main( int argc, char * argv[]){
}
pinyin_option_t options =
- USE_TONE | USE_RESPLIT_TABLE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL;
+ USE_TONE | USE_RESPLIT_TABLE | PINYIN_AMB_ALL;
FacadeChewingTable largetable;
MemoryChunk * chunk = new MemoryChunk;
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp
index 0fde80d..85edef3 100644
--- a/tests/storage/test_parser2.cpp
+++ b/tests/storage/test_parser2.cpp
@@ -62,7 +62,7 @@ int main(int argc, char * argv[]) {
exit(EINVAL);
}
- pinyin_option_t options = PINYIN_CORRECT_ALL | USE_TONE | USE_RESPLIT_TABLE;
+ pinyin_option_t options = USE_TONE | USE_RESPLIT_TABLE;
if (incomplete)
options |= PINYIN_INCOMPLETE | CHEWING_INCOMPLETE;
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp
index f94263b..d41a535 100644
--- a/tests/test_pinyin.cpp
+++ b/tests/test_pinyin.cpp
@@ -30,7 +30,7 @@ int main(int argc, char * argv[]){
pinyin_init("../data", "../data");
pinyin_option_t options =
- PINYIN_CORRECT_ALL | USE_DIVIDED_TABLE | USE_RESPLIT_TABLE |
+ USE_DIVIDED_TABLE | USE_RESPLIT_TABLE |
DYNAMIC_ADJUST;
pinyin_set_options(context, options);