diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-12-14 01:03:25 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-12-14 01:03:25 +0000 |
commit | c05f929f4a3c882215f073fcec17f7f67f74b118 (patch) | |
tree | f2d1f2dc610e4c2a4ec116d6aa29c305791145b1 /test/02.lisp | |
parent | 070f6560bc16d6d27d304b0f37471cdf6c8c5ff8 (diff) | |
download | aoc21-c05f929f4a3c882215f073fcec17f7f67f74b118.tar.gz aoc21-c05f929f4a3c882215f073fcec17f7f67f74b118.zip |
Add top-level lisp file
Diffstat (limited to 'test/02.lisp')
-rw-r--r-- | test/02.lisp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/02.lisp b/test/02.lisp index fd1a7ea..631dd92 100644 --- a/test/02.lisp +++ b/test/02.lisp @@ -1,9 +1,6 @@ -(ql:quickload "clunit") -(load "../src/02.lisp") - (use-package :clunit) -(defsuite 02/aoc ()) +(defsuite 02/aoc (aoc)) (defvar 02/default-input nil) @@ -24,11 +21,11 @@ (assert-equalp 900 result))) (deftest 02/test-a (02/aoc) - (let ((result (02/part-a (02/parse-input "../inputs/02.txt")))) + (let ((result (02/part-a (02/parse-input "inputs/02.txt")))) (assert-equalp 1561344 result))) (deftest 02/test-b (02/aoc) - (let ((result (02/part-b (02/parse-input "../inputs/02.txt")))) + (let ((result (02/part-b (02/parse-input "inputs/02.txt")))) (assert-equalp 1848454425 result))) -(run-suite '02/aoc) +(defun 02/run-tests () (run-suite '02/aoc)) |