source: trunk/source/tests/ansi-tests/base-string.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: 662 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Sun Aug 29 17:26:57 2004
4;;;; Contains: Tests associated with BASE-STRING
5
6(in-package :cl-test)
7
8(deftest base-string.1
9  (subtypep* 'base-string 'string)
10  t t)
11
12(deftest base-string.2
13  (subtypep* 'base-string 'vector)
14  t t)
15
16(deftest base-string.3
17  (subtypep* 'base-string 'array)
18  t t)
19
20(deftest base-string.4
21  (subtypep* 'base-string 'sequence)
22  t t)
23
24(deftest base-string.5
25  :notes (:allow-nil-arrays :nil-vectors-are-strings)
26  (subtypep* '(array nil (*)) 'base-string)
27  nil t)
28
29(deftest base-string.6
30  :notes (:nil-vectors-are-strings)
31  (subtypep* 'string 'base-string)
32  nil t)
Note: See TracBrowser for help on using the repository browser.