Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
11727606
Commit
11727606
authored
Jan 25, 2003
by
pfdietz
Browse files
More tests of vector type, using specialized float arrays. Another vector constructor test.
parent
897ac732
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/vector.lsp
View file @
11727606
...
...
@@ -177,6 +177,23 @@
(typep s '(vector t *)))
nil)
(deftest vector.type.41
(notnot-mv (typep (make-array '10 :element-type 'short-float) 'vector))
t)
(deftest vector.type.42
(notnot-mv (typep (make-array '10 :element-type 'single-float) 'vector))
t)
(deftest vector.type.43
(notnot-mv (typep (make-array '10 :element-type 'double-float) 'vector))
t)
(deftest vector.type.44
(notnot-mv (typep (make-array '10 :element-type 'long-float) 'vector))
t)
;;;; Tests of the function VECTOR
(deftest vector.1
...
...
@@ -227,3 +244,8 @@
(deftest vector.9
(typep (vector #\a #\b #\c) 'string)
nil)
(deftest vector.10
(notnot-mv (typep (vector 1 2 3) '(simple-vector *)))
t)
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment