bldc/tests/test_to_str_1.lisp

18 lines
207 B
Common Lisp

(defun repeatq (f n)
(if ( = n 0)
()
(progn
f
(repeatq f (- n 1)))))
(gc)
(define n (mem-num-free))
(repeatq '(to-str 1 2 3 4 5 6 7 8 9) 1000)
(gc)
(check (= n (mem-num-free)))