X-Git-Url: http://git.kpe.io/?p=cl-base64.git;a=blobdiff_plain;f=base64-tests.lisp;h=eb37fece92c556952a954d8a59b7b4bd123a47ae;hp=3b7ec4a22e1b090e1a58977b638c7bd170a46265;hb=cfd2e9d2c46a97f605d2e7162f6c7cbf4fd7f0fd;hpb=0e74ef4c46d71c9e8ece1f0c9c185d4abbb06f44 diff --git a/base64-tests.lisp b/base64-tests.lisp index 3b7ec4a..eb37fec 100644 --- a/base64-tests.lisp +++ b/base64-tests.lisp @@ -7,17 +7,18 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Jan 2003 ;;;; -;;;; $Id: base64-tests.lisp,v 1.1 2003/04/15 15:34:43 kevin Exp $ +;;;; $Id: base64-tests.lisp,v 1.7 2003/04/15 16:12:01 kevin Exp $ ;;;; ************************************************************************* (in-package :cl-user) (defpackage #:base64-test - (:use #:cl #:kmrcl #:base64 #:util.test)) + (:use #:cl #:kmrcl #:base64 #:util.test)) (in-package #:base64-test) (defun test-base64 () + (setq *break-on-test-failures* t) (with-tests (:name "cl-base64 tests") (do* ((length 0 (+ 3 length)) (string (make-string length) (make-string length)) @@ -58,7 +59,8 @@ (if (zerop columns) nil columns))) - :test #'string=)))))) + :test #'string=))))) + t) (defun time-routines () @@ -71,5 +73,5 @@ (time-iterations n (string-to-base64-string str)) (time-iterations n (excl:usb8-array-to-base64-string usb8)))) - -;;#+run-test (test-base64) +(export 'test-base64) +;;(test-base64)