Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ansi-test
ansi-test
Commits
04db101c
Commit
04db101c
authored
Jul 19, 2018
by
Daniel Kochmański
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add equal test for displaced bitvector
parent
c3ad6070
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
data-and-control-flow/equal.lsp
data-and-control-flow/equal.lsp
+7
-0
No files found.
data-and-control-flow/equal.lsp
View file @
04db101c
...
@@ -99,6 +99,13 @@
...
@@ -99,6 +99,13 @@
(values (equalt #*01100 b) (equalt #*01100 b)))
(values (equalt #*01100 b) (equalt #*01100 b)))
t t)
t t)
(deftest equal.18b
(let* ((l '(0 1 0 1 0))
(a (make-array 5 :element-type 'bit :initial-contents l)))
(equalt (make-array 4 :element-type 'bit :displaced-to a :displaced-index-offset 1)
(make-array 4 :element-type 'bit :initial-contents (rest l))))
t)
(deftest equal.19
(deftest equal.19
(let ((s (make-array '(10) :element-type 'base-char
(let ((s (make-array '(10) :element-type 'base-char
:initial-contents "0123456789"
:initial-contents "0123456789"
...
...
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