source: trunk/source/tests/ansi-tests/packagep.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: 472 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Sun Feb 22 06:51:38 2004
4;;;; Contains: Tests of PACKAGEP
5
6(in-package :cl-test)
7
8(deftest packagep.1
9  (check-type-predicate #'packagep 'package)
10  nil)
11
12;;; *package* is always a package
13
14(deftest packagep.2
15  (not-mv (packagep *package*))
16  nil)
17
18(deftest packagep.error.1
19  (signals-error (packagep) program-error)
20  t)
21
22(deftest packagep.error.2
23  (signals-error (packagep nil nil) program-error)
24  t)
Note: See TracBrowser for help on using the repository browser.