diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-08 10:40:50 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-08 10:40:50 +0800 |
commit | 01f7a5d90e6e35491561076bec86464c72052a56 (patch) | |
tree | f4dc474685678c836019f34bb2098cd7c290815a /tests/storage | |
parent | fbf33991cf8fb42858b2609760815ebb5d3ad7bc (diff) | |
download | libpinyin-01f7a5d90e6e35491561076bec86464c72052a56.tar.gz libpinyin-01f7a5d90e6e35491561076bec86464c72052a56.tar.xz libpinyin-01f7a5d90e6e35491561076bec86464c72052a56.zip |
begin to port
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_parser.cpp | 5 | ||||
-rw-r--r-- | tests/storage/test_pinyin_table.cpp | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/storage/test_parser.cpp b/tests/storage/test_parser.cpp index 7191080..a0045e6 100644 --- a/tests/storage/test_parser.cpp +++ b/tests/storage/test_parser.cpp @@ -24,7 +24,10 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "pinyin_internal.h" +#include <errno.h> +#include "pinyin_base.h" + +using namespace pinyin; static const char *help_msg = "Usage:\n" diff --git a/tests/storage/test_pinyin_table.cpp b/tests/storage/test_pinyin_table.cpp index 659e236..42da434 100644 --- a/tests/storage/test_pinyin_table.cpp +++ b/tests/storage/test_pinyin_table.cpp @@ -1,6 +1,12 @@ #include "timer.h" #include <string.h> -#include "pinyin_internal.h" +#include <errno.h> +#include "novel_types.h" +#include "pinyin_base.h" +#include "pinyin_large_table.h" +#include "phrase_index.h" + +using namespace pinyin; size_t bench_times = 1000; |