RosettaCodeData/Task/S-expressions/Common-Lisp/s-expressions-4.lisp
2023-07-01 13:44:08 -04:00

7 lines
223 B
Common Lisp

(setf unit-tests '(((1 2) (3 4)) (1 2 3 4) ("ab(cd" "mn)op")
(1 (2 (3 (4)))) ((1) (2) (3)) ()))
(defun run-tests ()
(dolist (test unit-tests)
(format t "Before: ~18s After: ~s~%"
test (write-sexp test))))