source: trunk/source/tests/ansi-tests/symbolp.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: 547 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Sun Jun 22 08:59:12 2003
4;;;; Contains: Tests for SYMBOLP
5
6(in-package :cl-test)
7
8(deftest symbolp.1
9  (notnot-mv (symbolp nil))
10  t)
11
12(deftest symbolp.2
13  (check-predicate #'symbolp nil *symbols*)
14  nil)
15
16(deftest symbolp.3
17  (check-predicate (complement #'symbolp) #'(lambda (x) (member x *symbols*)))
18  nil)
19
20;;; Error cases
21
22(deftest symbolp.error.1
23  (signals-error (symbolp) program-error)
24  t)
25
26(deftest symbolp.error.2
27  (signals-error (symbolp nil nil) program-error)
28  t)
Note: See TracBrowser for help on using the repository browser.