summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_chewing_table.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-11-29 14:35:08 +0800
committerPeng Wu <alexepico@gmail.com>2012-11-29 14:35:08 +0800
commit41f09223513a444f899b0c2def7325d2259d5300 (patch)
tree35d6c1f4355f2ea0f085e6e65f0c755874d77f14 /tests/storage/test_chewing_table.cpp
parenta94db825a915c1c02ee581495c1e97c6f573074f (diff)
downloadlibpinyin-41f09223513a444f899b0c2def7325d2259d5300.tar.gz
libpinyin-41f09223513a444f899b0c2def7325d2259d5300.tar.xz
libpinyin-41f09223513a444f899b0c2def7325d2259d5300.zip
add mask out test cases to chewing/pharse table
Diffstat (limited to 'tests/storage/test_chewing_table.cpp')
-rw-r--r--tests/storage/test_chewing_table.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp
index 369f726..bb25780 100644
--- a/tests/storage/test_chewing_table.cpp
+++ b/tests/storage/test_chewing_table.cpp
@@ -129,5 +129,9 @@ int main(int argc, char * argv[]) {
if (linebuf)
free(linebuf);
+
+ /* mask out all index items. */
+ largetable.mask_out(0x0, 0x0);
+
return 0;
}