summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-11-29 14:36:31 +0800
committerPeng Wu <alexepico@gmail.com>2012-11-29 14:36:31 +0800
commit226554dc4ca7c8271152136a640fe8dd4410dcd3 (patch)
tree8e0e2d87b5c585eff1bfe63416df1cffb57a6efd /tests
parent41f09223513a444f899b0c2def7325d2259d5300 (diff)
downloadlibpinyin-226554dc4ca7c8271152136a640fe8dd4410dcd3.tar.gz
libpinyin-226554dc4ca7c8271152136a640fe8dd4410dcd3.tar.xz
libpinyin-226554dc4ca7c8271152136a640fe8dd4410dcd3.zip
add mask out test cases to ngram
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_ngram.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/storage/test_ngram.cpp b/tests/storage/test_ngram.cpp
index 008f96a..f82cf1f 100644
--- a/tests/storage/test_ngram.cpp
+++ b/tests/storage/test_ngram.cpp
@@ -80,5 +80,8 @@ int main(int argc, char * argv[]){
g_array_free(items, TRUE);
+ /* mask out all index items. */
+ bigram.mask_out(0x0, 0x0);
+
return 0;
}