X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Farith.pure.lisp;h=e2b5e4cad78f4d756970d83979949db18655cfe6;hb=3aaed55326303bb377c4821c5e83b2e4e9c538fc;hp=ad6abc2c424b07f1cd4d33e2c518b8525a89b7ed;hpb=9a2e730f74641e7de6ad4099111db92c5ad863bf;p=sbcl.git diff --git a/tests/arith.pure.lisp b/tests/arith.pure.lisp index ad6abc2..e2b5e4c 100644 --- a/tests/arith.pure.lisp +++ b/tests/arith.pure.lisp @@ -51,6 +51,12 @@ ;;; ANSI says MIN and MAX should signal TYPE-ERROR if any argument ;;; isn't REAL. SBCL 0.7.7 didn't in the 1-arg case. (reported as a ;;; bug in CMU CL on #lisp IRC by lrasinen 2002-09-01) +#|| + +FIXME: These tests would be good to have. But although, in +sbcl-0.7.7.2x, (NULL (IGNORE-ERRORS (MIN 1 #(1 2 3)))) returns T, the +ASSERTion fails, probably in something related to bug #194. + (assert (null (ignore-errors (min '(1 2 3))))) (assert (= (min -1) -1)) (assert (null (ignore-errors (min 1 #(1 2 3))))) @@ -63,3 +69,4 @@ (assert (= (max -1 10.0) 10.0)) (assert (null (ignore-errors (max 3 #'max)))) (assert (= (max -3 0) 0)) +||#