Commit d815c853 authored by pfdietz's avatar pfdietz
Browse files

Removed disputed tests

parent 4a62a775
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
(nconc (copy-tree '(a b c d e f))) (nconc (copy-tree '(a b c d e f)))
(a b c d e f)) (a b c d e f))
(deftest nconc.3 ;;; (deftest nconc.3
(nconc 1) ;;; (nconc 1)
1) ;;; 1)
(deftest nconc.4 (deftest nconc.4
(let ((x (list 'a 'b 'c)) (let ((x (list 'a 'b 'c))
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
(deftest nconc.order.2 (deftest nconc.order.2
(let ((i 0)) (let ((i 0))
(values (values
(nconc (incf i)) (nconc (list 'a) (incf i))
i)) i))
1 1) (a . 1) 1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; append ;;; append
......
...@@ -192,9 +192,9 @@ ...@@ -192,9 +192,9 @@
(read-from-string (format nil "#~Aa()" len)))) (read-from-string (format nil "#~Aa()" len))))
t) t)
(deftest make-array.24 ;;; (deftest make-array.24
(make-array-with-checks '(5) :initial-element 'a :displaced-to nil) ;;; (make-array-with-checks '(5) :initial-element 'a :displaced-to nil)
#(a a a a a)) ;;; #(a a a a a))
(deftest make-array.25 (deftest make-array.25
(make-array '(4) :initial-element 'x :nonsense-argument t (make-array '(4) :initial-element 'x :nonsense-argument t
...@@ -646,25 +646,28 @@ ...@@ -646,25 +646,28 @@
;;; Order of evaluation tests ;;; Order of evaluation tests
(deftest make-array.order.1 (deftest make-array.order.1
(let ((i 0) a b c d e) (let ((i 0) a b c e)
(values (values
(make-array (progn (setf a (incf i)) 5) (make-array (progn (setf a (incf i)) 5)
:initial-element (progn (setf b (incf i)) 'a) :initial-element (progn (setf b (incf i)) 'a)
:fill-pointer (progn (setf c (incf i)) nil) :fill-pointer (progn (setf c (incf i)) nil)
:displaced-to (progn (setf d (incf i)) nil) ;; :displaced-to (progn (setf d (incf i)) nil)
:element-type (progn (setf e (incf i)) t) :element-type (progn (setf e (incf i)) t)
) )
i a b c d e)) i a b c e))
#(a a a a a) 5 1 2 3 4 5) #(a a a a a) 4 1 2 3 4)
(deftest make-array.order.2 (deftest make-array.order.2
(let ((i 0) a b c d e) (let ((i 0) a b d e)
(values (values
(make-array (progn (setf a (incf i)) 5) (make-array (progn (setf a (incf i)) 5)
:element-type (progn (setf b (incf i)) t) :element-type (progn (setf b (incf i)) t)
:displaced-to (progn (setf c (incf i)) nil) ;; :displaced-to (progn (setf c (incf i)) nil)
:fill-pointer (progn (setf d (incf i)) nil) :fill-pointer (progn (setf d (incf i)) nil)
:initial-element (progn (setf e (incf i)) 'a) :initial-element (progn (setf e (incf i)) 'a)
) )
i a b c d e)) i a b d e))
#(a a a a a) 5 1 2 3 4 5) #(a a a a a) 4 1 2 3 4)
;; Must add back order tests for :displaced-to and :displaced-index-offset
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