summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-06-19 11:23:25 +0800
committerPeng Wu <alexepico@gmail.com>2017-06-19 11:23:25 +0800
commit5190d206dca53d97127f645f3477730d6955a463 (patch)
treea6e6d9d68fb59b19b796f20908c54c5933122ca0
parent97ca682a1099ae6da6ceacd9b15f654562567013 (diff)
downloadlibpinyin-5190d206dca53d97127f645f3477730d6955a463.zip
libpinyin-5190d206dca53d97127f645f3477730d6955a463.tar.gz
libpinyin-5190d206dca53d97127f645f3477730d6955a463.tar.xz
update test_ngram.cpp
-rw-r--r--tests/storage/test_ngram.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/storage/test_ngram.cpp b/tests/storage/test_ngram.cpp
index 0313f1c..4007e03 100644
--- a/tests/storage/test_ngram.cpp
+++ b/tests/storage/test_ngram.cpp
@@ -75,8 +75,10 @@ int main(int argc, char * argv[]){
printf("item:%d\n", *token);
}
+#if 0
assert(bigram.load_db("/tmp/test.db"));
assert(bigram.save_db("/tmp/test.db"));
+#endif
g_array_free(items, TRUE);