diff options
Diffstat (limited to 'tests/lookup')
-rw-r--r-- | tests/lookup/Makefile.am | 6 | ||||
-rw-r--r-- | tests/lookup/test_phrase_lookup.cpp | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am index 9e8cef4..6887605 100644 --- a/tests/lookup/Makefile.am +++ b/tests/lookup/Makefile.am @@ -21,8 +21,12 @@ INCLUDES = -I$(top_srcdir)/src \ -I$(top_srcdir)/src/lookup \ @GLIB2_CPPFLAGS@ -noinst_PROGRAMS = test_simple_lookup +noinst_PROGRAMS = test_simple_lookup test_phrase_lookup test_simple_lookup_SOURCES = test_simple_lookup.cpp test_simple_lookup_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@ + +test_phrase_lookup_SOURCES = test_phrase_lookup.cpp + +test_phrase_lookup_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@
\ No newline at end of file diff --git a/tests/lookup/test_phrase_lookup.cpp b/tests/lookup/test_phrase_lookup.cpp new file mode 100644 index 0000000..d2519c4 --- /dev/null +++ b/tests/lookup/test_phrase_lookup.cpp @@ -0,0 +1,5 @@ +#include <stdio.h> +#include "pinyin.h" + +int main(int argc, char * argv[]){ +} |