Skip to content

Commit

Permalink
added term merging test case
Browse files Browse the repository at this point in the history
  • Loading branch information
skypher committed Apr 8, 2009
1 parent f3af8c1 commit c56971f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions montezuma/tests/unit/index/tc-term-buffer.lisp
Expand Up @@ -37,3 +37,10 @@
(test term-buffer-read-1 (text tb) "John Wiseman" #'string=)
(test term-buffer-read-2 (term-text (term tb)) "John Wiseman" #'string=)
(test term-buffer-read-3 (field tb) "Writer" #'string=))))

(deftestfun test-term-buffer-merge
(let ((i (make-instance 'index)))
(dotimes (j 333) ; induce term merging process
(add-document-to-index i "über")
(add-document-to-index i '((id . 0)("test"))))))

0 comments on commit c56971f

Please sign in to comment.