summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_flexible_ngram.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-04-07 14:07:18 +0800
committerPeng Wu <alexepico@gmail.com>2011-04-07 14:07:18 +0800
commit0d839f2ef6d4f70dbad007384ca998eb0ae51732 (patch)
tree54eb34f9bda7c6875ba3f0e96a0be241c83b1991 /tests/storage/test_flexible_ngram.cpp
parent7d46595e8d2391fc70be12f3ecf8119bdaa47c7b (diff)
downloadlibpinyin-0d839f2ef6d4f70dbad007384ca998eb0ae51732.tar.gz
libpinyin-0d839f2ef6d4f70dbad007384ca998eb0ae51732.tar.xz
libpinyin-0d839f2ef6d4f70dbad007384ca998eb0ae51732.zip
add test case for flexible ngram
Diffstat (limited to 'tests/storage/test_flexible_ngram.cpp')
-rw-r--r--tests/storage/test_flexible_ngram.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/storage/test_flexible_ngram.cpp b/tests/storage/test_flexible_ngram.cpp
new file mode 100644
index 0000000..744187f
--- /dev/null
+++ b/tests/storage/test_flexible_ngram.cpp
@@ -0,0 +1,5 @@
+#include "pinyin.h"
+
+int main(int argc, char * argv[]) {
+ FlexibleBigram<guint64, guint32, guint32> test_bigram;
+}