Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ansi-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michał Herda
ansi-test
Commits
d815c853
Commit
d815c853
authored
22 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Removed disputed tests
parent
4a62a775
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansi-tests/cons-test-07.lsp
+5
-5
5 additions, 5 deletions
ansi-tests/cons-test-07.lsp
ansi-tests/make-array.lsp
+14
-11
14 additions, 11 deletions
ansi-tests/make-array.lsp
with
19 additions
and
16 deletions
ansi-tests/cons-test-07.lsp
+
5
−
5
View file @
d815c853
...
...
@@ -18,9 +18,9 @@
(nconc (copy-tree '(a b c d e f)))
(a b c d e f))
(deftest nconc.3
(nconc 1)
1)
;;;
(deftest nconc.3
;;;
(nconc 1)
;;;
1)
(deftest nconc.4
(let ((x (list 'a 'b 'c))
...
...
@@ -72,9 +72,9 @@
(deftest nconc.order.2
(let ((i 0))
(values
(nconc (incf i))
(nconc
(list 'a)
(incf i))
i))
1 1)
(a . 1) 1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; append
...
...
This diff is collapsed.
Click to expand it.
ansi-tests/make-array.lsp
+
14
−
11
View file @
d815c853
...
...
@@ -192,9 +192,9 @@
(read-from-string (format nil "#~Aa()" len))))
t)
(deftest make-array.24
(make-array-with-checks '(5) :initial-element 'a :displaced-to nil)
#(a a a a a))
;;;
(deftest make-array.24
;;;
(make-array-with-checks '(5) :initial-element 'a :displaced-to nil)
;;;
#(a a a a a))
(deftest make-array.25
(make-array '(4) :initial-element 'x :nonsense-argument t
...
...
@@ -646,25 +646,28 @@
;;; Order of evaluation tests
(deftest make-array.order.1
(let ((i 0) a b c
d
e)
(let ((i 0) a b c e)
(values
(make-array (progn (setf a (incf i)) 5)
:initial-element (progn (setf b (incf i)) 'a)
: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)
)
i a b c
d
e))
#(a a a a a)
5
1 2 3 4
5
)
i a b c e))
#(a a a a a)
4
1 2 3 4)
(deftest make-array.order.2
(let ((i 0) a b
c
d e)
(let ((i 0) a b d e)
(values
(make-array (progn (setf a (incf i)) 5)
: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)
:initial-element (progn (setf e (incf i)) 'a)
)
i a b c d e))
#(a a a a a) 5 1 2 3 4 5)
i a b d e))
#(a a a a a) 4 1 2 3 4)
;; Must add back order tests for :displaced-to and :displaced-index-offset
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment