Commit 9d8f07d1 authored by pfdietz's avatar pfdietz
Browse files

Added REMOVE-LIST.29, which exercises a bug in CMU CL.

parent c5bb27d1
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment