0.pre7.94:
[sbcl.git] / tests / vector.pure.lisp
index ba40859..9f60cca 100644 (file)
@@ -1,12 +1,25 @@
-(in-package :cl-user)
+;;;; This software is part of the SBCL system. See the README file for
+;;;; more information.
+;;;;
+;;;; While most of SBCL is derived from the CMU CL system, the test
+;;;; files (like this one) were written from scratch after the fork
+;;;; from CMU CL.
+;;;; 
+;;;; This software is in the public domain and is provided with
+;;;; absolutely no warranty. See the COPYING and CREDITS files for
+;;;; more information.
 
-(defun vector-tests ()
-  (let ((simple-t (make-array 35))
-       (simple-u32 (make-array 50 :element-type '(unsigned-byte 32)))
-       (simple-character (make-string 44))
-       (complex-t (make-array 35 :fill-pointer 3))
-       (complex-u32 (make-array 88 :element-type '(unsigned-byte 32)))
-       (complex-character (make-array 14
-                                      :element-type 'character
-                                      :fill-pointer t)))
-    (assert (= (length simple-t) 35))))
+(cl:in-package :cl-user)
+
+(funcall (lambda () 
+          (let ((simple-t (make-array 35))
+                (simple-u32 (make-array 50
+                                        :element-type '(unsigned-byte 32)))
+                (simple-character (make-string 44))
+                (complex-t (make-array 35 :fill-pointer 3))
+                (complex-u32 (make-array 88
+                                         :element-type '(unsigned-byte 32)))
+                (complex-character (make-array 14
+                                               :element-type 'character
+                                               :fill-pointer t)))
+            (assert (= (length simple-t) 35)))))