summaryrefslogtreecommitdiffstats
path: root/test/02.lisp
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-12-14 01:23:19 +0000
committerYann Herklotz <git@yannherklotz.com>2021-12-14 01:23:19 +0000
commit1a795e9ccefdcc086d4c890ec5ed527c786e0cf1 (patch)
treeb3b0dd9a5f6c7797687708e43ebba9d335974615 /test/02.lisp
parent8e27d45866ac88f744fec4a9c1499efc0af38847 (diff)
downloadaoc21-1a795e9ccefdcc086d4c890ec5ed527c786e0cf1.tar.gz
aoc21-1a795e9ccefdcc086d4c890ec5ed527c786e0cf1.zip
Add inputs to 04 and fix tests
Diffstat (limited to 'test/02.lisp')
-rw-r--r--test/02.lisp16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/02.lisp b/test/02.lisp
index 631dd92..9070517 100644
--- a/test/02.lisp
+++ b/test/02.lisp
@@ -2,15 +2,13 @@
(defsuite 02/aoc (aoc))
-(defvar 02/default-input nil)
-
-(setf 02/default-input
- '("forward 5"
- "down 5"
- "forward 8"
- "up 3"
- "down 8"
- "forward 2"))
+(defvar 02/default-input
+ '("forward 5"
+ "down 5"
+ "forward 8"
+ "up 3"
+ "down 8"
+ "forward 2"))
(deftest 02/test-ex-a (02/aoc)
(let ((result (02/part-a (02/parse-input-direct 02/default-input))))