X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests.lisp;h=aa6ea3b47d404ec812a4f52e761cf00db87d2519;hb=b77e1b1e635c7c29fd0ece180526d9ed31fc63f0;hp=b419fed4a70619f043d2d58104f295167d322940;hpb=72b483ebb9fd0f02acb1b20ef14ee8bac845eca8;p=kmrcl.git diff --git a/tests.lisp b/tests.lisp index b419fed..aa6ea3b 100644 --- a/tests.lisp +++ b/tests.lisp @@ -7,7 +7,7 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Apr 2003 ;;;; -;;;; $Id: tests.lisp,v 1.18 2003/06/12 11:10:38 kevin Exp $ +;;;; $Id: tests.lisp,v 1.20 2003/06/25 19:38:26 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -55,6 +55,15 @@ (deftest str.24 (delimited-string-to-list "ab|" #\|) ("ab" "")) (deftest str.25 (delimited-string-to-list "ab|" #\| t) ("ab")) +(deftest sdstl.1 (string-delimited-string-to-list "ab|cd|ef" "|a") + ("ab|cd|ef")) +(deftest sdstl.2 (string-delimited-string-to-list "ab|cd|ef" "|") + ("ab" "cd" "ef")) +(deftest sdstl.3 (string-delimited-string-to-list "ab|cd|ef" "cd") + ("ab|" "|ef")) +(deftest sdstl.4 (string-delimited-string-to-list "ab|cd|ef" "ab") + ("" "|cd|ef")) + (deftest apsl.1 (append-sublists '((a b) (c d))) (a b c d)) (deftest apsl.2 (append-sublists nil) nil) (deftest apsl.3 (append-sublists '((a b))) (a b)) @@ -177,8 +186,8 @@ #+kmrtest-mop (progn - (makunbound 'credit-rating) - (makunbound 'monitored-credit-rating) + (setf (find-class 'credit-rating) nil) + (setf (find-class 'monitored-credit-rating) nil) (defclass credit-rating () ((level :attributes (date-set time-set))