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