diff options
author | Peng Wu <alexepico@gmail.com> | 2010-10-14 14:53:48 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-10-14 14:53:48 +0800 |
commit | d9268d28d322918e8294dbf81fc41f8e2e12712c (patch) | |
tree | ee2d910e85b91cada5fee3a82b73f6e88cd5fb52 /tests/lookup | |
parent | d51091e95735909b48f025be18238cd2f7b3931f (diff) | |
download | libpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.tar.gz libpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.tar.xz libpinyin-d9268d28d322918e8294dbf81fc41f8e2e12712c.zip |
switch to pinyin.h for tests
Diffstat (limited to 'tests/lookup')
-rw-r--r-- | tests/lookup/Makefile.am | 9 | ||||
-rw-r--r-- | tests/lookup/test_simple_lookup.cpp | 8 |
2 files changed, 6 insertions, 11 deletions
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am index 4c71c36..9e8cef4 100644 --- a/tests/lookup/Makefile.am +++ b/tests/lookup/Makefile.am @@ -15,10 +15,11 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -INCLUDES = -I$(top_srcdir)/src/include \ - -I$(top_srcdir)/src/storage \ - -I$(top_srcdir)/src/lookup \ - @GLIB2_CPPFLAGS@ +INCLUDES = -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/include \ + -I$(top_srcdir)/src/storage \ + -I$(top_srcdir)/src/lookup \ + @GLIB2_CPPFLAGS@ noinst_PROGRAMS = test_simple_lookup diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp index be90316..7039f45 100644 --- a/tests/lookup/test_simple_lookup.cpp +++ b/tests/lookup/test_simple_lookup.cpp @@ -2,13 +2,7 @@ #include <stdio.h> #include <sys/time.h> #include <glib.h> -#include "novel_types.h" -#include "pinyin_base.h" -#include "pinyin_phrase.h" -#include "pinyin_large_table.h" -#include "phrase_index.h" -#include "ngram.h" -#include "pinyin_lookup.h" +#include "pinyin.h" size_t bench_times = 1000; |