test/test.lisp @ 4b63cff9f912

Bug fixes and cleanup
author Steve Losh <steve@stevelosh.com>
date Sun, 09 Jun 2019 12:16:43 -0400
parents 386728efe61c
children 09e906903662
(ql:quickload '(:flax :losh))

(defun check (interactive loom)
  (terpri)
  (losh:pr 'checking loom)
  (mapcar (lambda (output)
            (funcall loom nil "out" output 500 500)
            (losh:pr output 'OK))
          '(:png :plot :svg))
  (when interactive
    (break "Finished run of loom ~A" loom)))

(defun check-all (&key interactive)
  (check interactive #'flax.looms.001-triangles:loom)
  (check interactive #'flax.looms.002-wobbly-lines:loom)
  (check interactive #'flax.looms.003-basic-l-systems:loom)
  (check interactive #'flax.looms.004-turtle-curves:loom)
  (check interactive #'flax.looms.005-simple-triangulations:loom)
  (check interactive #'flax.looms.006-tracing-lines:loom)
  (check interactive #'flax.looms.007-stipple:loom))

(check-all)