add mask out test cases to chewing/pharse table
authorPeng Wu <alexepico@gmail.com>
Thu, 29 Nov 2012 06:35:08 +0000 (14:35 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 29 Nov 2012 06:35:08 +0000 (14:35 +0800)
tests/storage/test_chewing_table.cpp
tests/storage/test_phrase_table.cpp

index 369f726..bb25780 100644 (file)
@@ -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;
 }
index eb24382..9a84d6d 100644 (file)
@@ -67,5 +67,9 @@ int main(int argc, char * argv[]){
 
     if ( linebuf )
         free(linebuf);
+
+    /* mask out all index items. */
+    largetable.mask_out(0x0, 0x0);
+
     return 0;
 }