source: trunk/source/tests/ansi-tests/numberp.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: 451 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Sat Sep  6 18:20:36 2003
4;;;; Contains: Tests of NUMBERP
5
6(in-package :cl-test)
7
8(deftest numberp.error.1
9  (signals-error (numberp) program-error)
10  t)
11
12(deftest numberp.error.2
13  (signals-error (numberp 0 nil) program-error)
14  t)
15
16(deftest numberp.error.3
17  (signals-error (numberp 'a nil nil) program-error)
18  t)
19
20(deftest numberp.1
21  (check-type-predicate #'numberp 'number)
22  nil)
Note: See TracBrowser for help on using the repository browser.