source: trunk/source/tests/ansi-tests/subtypep-function.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: 559 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Wed Dec 15 21:57:44 2004
4;;;; Contains: Tests of SUBTYPEP on FUNCTION types
5
6(in-package :cl-test)
7
8(compile-and-load "types-aux.lsp")
9
10(deftest subtypep-function.1
11  (check-all-not-subtypep t '(function (t) t))
12  nil)
13
14(deftest subtypep-function.2
15  (check-all-subtypep nil '(function (t) t))
16  nil)
17
18(deftest subtypep-function.3
19  (check-all-subtypep '(function (t) t) 'function)
20  nil)
21
22(deftest subtypep-function.4
23  (check-all-subtypep '(function (t) integer) '(function (t) real))
24  nil)
Note: See TracBrowser for help on using the repository browser.