diff options
Diffstat (limited to 'tests/storage/test_flexible_ngram.cpp')
-rw-r--r-- | tests/storage/test_flexible_ngram.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/storage/test_flexible_ngram.cpp b/tests/storage/test_flexible_ngram.cpp index eefb5ac..ea17adb 100644 --- a/tests/storage/test_flexible_ngram.cpp +++ b/tests/storage/test_flexible_ngram.cpp @@ -39,6 +39,7 @@ int main(int argc, char * argv[]) { assert(bigram.attach("/tmp/training.db")); bigram.store(1, &single_gram); assert(single_gram.insert_array_item(5, 8)); + assert(single_gram.remove_array_item(1, freq)); assert(single_gram.set_array_header(32)); assert(single_gram.get_array_header(freq)); printf("new array header:%d\n", freq); |