Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
4c4a2e40
Commit
4c4a2e40
authored
Mar 10, 2005
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tests of the STRING type specifier
parent
56668abf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
ansi-tests/string.lsp
ansi-tests/string.lsp
+38
-0
No files found.
ansi-tests/string.lsp
View file @
4c4a2e40
...
...
@@ -100,6 +100,44 @@
collect s)
nil)
(deftest string.17
(typep* "abc" '(string))
t)
(deftest string.18
(typep* "abc" '(string *))
t)
(deftest string.19
(typep* "abc" '(string 3))
t)
(deftest string.20
(typep* "abc" '(string 2))
nil)
(deftest string.21
(typep* "abc" '(string 4))
nil)
(deftest string.22
(do-special-strings (s "X") (assert (typep s 'string)))
nil)
(deftest string.23
(do-special-strings (s "X") (assert (typep s '(string))))
nil)
(deftest string.24
(do-special-strings (s "X") (assert (typep s '(string *))))
nil)
(deftest string.25
(do-special-strings (s "X")
(or (array-has-fill-pointer-p s)
(assert (typep s '(string 1)))))
nil)
;;; Error tests
(deftest string.error.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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