features.lsp 585 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
;-*- Mode:     Lisp -*-
;;;; Author:   Paul Dietz
;;;; Created:  Mon Dec  2 07:44:40 2002
;;;; Contains: Tests of *FEATURES*

(in-package :cl-test)

(deftest features.1
  (let ((f *features*))
pfdietz's avatar
pfdietz committed
10
    (or (not (member :draft-ansi-cl f))
sds's avatar
sds committed
11
        (not (intersection '(:draft-ansi-cl-2 :ansi-cl) f))))
12 13 14 15 16
  t)

(deftest features.2
  (let ((f *features*))
    (or (not (intersection '(:x3j13 :draft-ansi-cl :ansi-cl) f))
sds's avatar
sds committed
17
        (notnot (member :common-lisp f))))
18 19 20 21 22
  t)

(deftest features.3
  (not (member :cltl2 *features*))
  t)
23 24 25 26

(deftest features.4
  (notnot (every #'symbolp *features*))
  t)