diff --git a/ansi-tests/remove.lsp b/ansi-tests/remove.lsp index cea80256cc7a4b7ce14fb82cbdf2ce5a3450852e..d7872485285829b0a56363a691367a5792ba9aa2 100644 --- a/ansi-tests/remove.lsp +++ b/ansi-tests/remove.lsp @@ -282,6 +282,18 @@ (equalpt x y))) t) +(deftest remove-list.29 + (let* ((orig '(1 2 3 2 6 1 2 4 1 3 2 7)) + (x (copy-seq orig)) + (y (remove 3 x :count 1000000000000))) + (and (equalp orig x) + y)) + (1 2 2 6 1 2 4 1 2 7)) + +;;; Assorted tests of remove and delete on vectors, strings, +;;; and bit vectors. These are mostly to exercise bugs previously +;;; detected by the randomized tests + (deftest remove-vector.1 (remove 'a (vector 'b 'c 'd)) #(b c d))