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
76643119
Commit
76643119
authored
20 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Fixed problem in array printing tests with complex element types observed by SH and DR.
parent
4a04ca09
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansi-tests/print-array.lsp
+3
-3
3 additions, 3 deletions
ansi-tests/print-array.lsp
with
3 additions
and
3 deletions
ansi-tests/print-array.lsp
+
3
−
3
View file @
76643119
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
(deftest print.array.0.12
(deftest print.array.0.12
(loop for type0 in '(short-float single-float double-float long-float float)
(loop for type0 in '(short-float single-float double-float long-float float)
for type = `(complex ,type0)
for type = `(complex ,type0)
for zero = (complex (coerce 0 type0))
for zero = (complex (coerce 0
.0s0
type0))
for a = (make-array nil :initial-element zero
for a = (make-array nil :initial-element zero
:element-type type)
:element-type type)
nconc
nconc
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
long-float float real)
long-float float real)
for type = `(complex ,type0)
for type = `(complex ,type0)
for a = (make-array nil :element-type type
for a = (make-array nil :element-type type
:initial-element (complex (coerce 3 type0)))
:initial-element (complex
0
(coerce 3 type0)))
for result = (write-to-string a :readably nil :array nil)
for result = (write-to-string a :readably nil :array nil)
unless (string= (subseq result 0 2) "#<")
unless (string= (subseq result 0 2) "#<")
collect (list type result))
collect (list type result))
...
@@ -391,7 +391,7 @@
...
@@ -391,7 +391,7 @@
long-float float real)
long-float float real)
for type = `(complex ,type0)
for type = `(complex ,type0)
for a = (make-array '(13 5) :element-type type
for a = (make-array '(13 5) :element-type type
:initial-element (complex (coerce 3 type0)))
:initial-element (complex
0
(coerce 3 type0)))
for result = (write-to-string a :readably nil :array nil)
for result = (write-to-string a :readably nil :array nil)
unless (string= (subseq result 0 2) "#<")
unless (string= (subseq result 0 2) "#<")
collect (list type result))
collect (list type result))
...
...
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