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
f0f90cfb
Commit
f0f90cfb
authored
Oct 12, 2002
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests for BLOCK.
parent
83576620
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
ansi-tests/block.lsp
ansi-tests/block.lsp
+42
-0
ansi-tests/gclload2.lsp
ansi-tests/gclload2.lsp
+1
-0
No files found.
ansi-tests/block.lsp
0 → 100644
View file @
f0f90cfb
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Sat Oct 12 12:30:46 2002
;;;; Contains: Tests of BLOCK
(in-package :cl-test)
(deftest block.1
(block foo
(return-from foo 1))
1)
(deftest block.2
(block nil
(block foo
(return 'good))
'bad)
good)
(deftest block.3
(block done
(flet ((%f (x) (return-from done x)))
(%f 'good))
'bad)
good)
(deftest block.4
(block foo
(block foo
(return-from foo 'bad))
'good)
good)
(deftest block.5
(block done
(flet ((%f (x) (return-from done x)))
(mapcar #'%f '(good bad bad)))
'bad)
good)
ansi-tests/gclload2.lsp
View file @
f0f90cfb
...
...
@@ -9,6 +9,7 @@
;;; Tests of data and control flow
(load "places.lsp")
(load "block.lsp")
(load "call-arguments-limit.lsp")
(load "constantly.lsp")
(load "complement.lsp")
...
...
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