source: trunk/source/tests/ansi-tests/prin1-to-string.lsp @ 8991

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

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

File size: 546 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Mon Jul 26 12:18:22 2004
4;;;; Contains: Tests of PRIN1-TO-STRING
5
6(in-package :cl-test)
7
8(compile-and-load "printer-aux.lsp")
9
10(deftest prin1-to-string.1
11  (random-prin1-to-string-test 5)
12  nil)
13
14(deftest prin1-to-string.2
15  (with-standard-io-syntax (prin1-to-string 2))
16  "2")
17
18;;; Error tests
19
20(deftest prin1-to-string.error.1
21  (signals-error (prin1-to-string) program-error)
22  t)
23
24(deftest prin1-to-string.error.2
25  (signals-error (prin1-to-string nil nil) program-error)
26  t)
Note: See TracBrowser for help on using the repository browser.