source: trunk/source/tests/ansi-tests/broadcast-stream-streams.lsp @ 8991

Last change on this file since 8991 was 8991, checked in by gz, 11 years ago

Check in the gcl ansi test suite (original, in preparation for making local changes)

File size: 662 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Thu Jan 29 22:06:28 2004
4;;;; Contains: Tests of BROADCAST-STREAM-STREAMS
5
6(in-package :cl-test)
7
8(deftest broadcast-stream-streams.1
9  (broadcast-stream-streams (make-broadcast-stream))
10  nil)
11
12(deftest broadcast-stream-streams.2
13  (equalt
14   (broadcast-stream-streams (make-broadcast-stream *standard-output*))
15   (list *standard-output*))
16  t)
17
18(deftest broadcast-stream-streams.error.1
19  (signals-error (broadcast-stream-streams) program-error)
20  t)
21
22(deftest broadcast-stream-streams.error.2
23  (signals-error (broadcast-stream-streams (make-broadcast-stream) nil)
24                 program-error)
25  t)
26
27
28
29
30
Note: See TracBrowser for help on using the repository browser.