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
44c07fd8
Commit
44c07fd8
authored
Aug 23, 2005
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make digit-char.1 be more informative on failure
parent
b0785989
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
ansi-tests/char-aux.lsp
ansi-tests/char-aux.lsp
+18
-7
ansi-tests/character.lsp
ansi-tests/character.lsp
+1
-1
No files found.
ansi-tests/char-aux.lsp
View file @
44c07fd8
...
...
@@ -132,14 +132,25 @@
t
))))
(defun digit-char.1.body.old ()
(loop for r from 2 to 36 always
(loop for i from 0 to 36
always (let* ((c (digit-char i r))
(result
(if (>= i r) (null c)
(eqlt c (char +extended-digit-chars+ i)))))
(unless result
(format t "~A ~A ~A~%" r i c))
result))))
a
(defun digit-char.1.body ()
(loop
for r from 2 to 36
always
(loop for i from 0 to 36
always (let ((c (digit-char i r)))
(if (>= i r) (null c)
(eqlt c (char +extended-digit-chars+ i)))))))
(loop for r from 2 to 36 nconc
(loop for i from 0 to 36
for c = (digit-char i r)
unless (if (>= i r) (null c)
(eqlt c (char +extended-digit-chars+ i)))
collect (list r i c))))
(defun digit-char-p.1.body ()
(loop for x in *universe*
...
...
ansi-tests/character.lsp
View file @
44c07fd8
...
...
@@ -184,7 +184,7 @@
(deftest digit-char.1
(digit-char.1.body)
t
)
nil
)
(deftest digit-char.2
(map 'list #'digit-char (loop for i from 0 to 39 collect i))
...
...
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