(load "~/quicklisp/setup") (ql:quickload :fiveam) (load "ngrobner.asd") (asdf:load-system :ngrobner) (defpackage :it.bese.fiveam.utils-tests (:use :common-lisp :it.bese.fiveam)) (in-package :it.bese.fiveam.utils-tests) (def-suite utils-suite :description "Utils Suite") (in-suite utils-suite) (use-package :ngrobner) #+nil (test dummy-test "Makelist" (is (= (+ 2 2)) "2 plus 2 wasn't equal to 4 (using #'= to test equality)") (is (= 0 (+ -1 1))) (signals (error "Trying to add 4 to FOO didn't signal an error") (+ 'foo 4)) (is (= 0 (+ 1 1)) "this should have failed")) (test makelist-1 "Makelist" (is (equal (makelist-1 (* 2 i) i 0 10) '(0 2 4 6 8 10 12 14 16 18 20))) ) (run!)