summaryrefslogtreecommitdiffstats
path: root/test/03.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/03.lisp
parent8e27d45866ac88f744fec4a9c1499efc0af38847 (diff)
downloadaoc21-1a795e9ccefdcc086d4c890ec5ed527c786e0cf1.tar.gz
aoc21-1a795e9ccefdcc086d4c890ec5ed527c786e0cf1.zip
Add inputs to 04 and fix tests
Diffstat (limited to 'test/03.lisp')
-rw-r--r--test/03.lisp28
1 files changed, 13 insertions, 15 deletions
diff --git a/test/03.lisp b/test/03.lisp
index 000ece8..cc8085f 100644
--- a/test/03.lisp
+++ b/test/03.lisp
@@ -2,21 +2,19 @@
(defsuite 03/aoc (aoc))
-(defvar 03/default-input nil)
-
-(setf 03/default-input
- '("00100"
- "11110"
- "10110"
- "10111"
- "10101"
- "01111"
- "00111"
- "11100"
- "10000"
- "11001"
- "00010"
- "01010"))
+(defvar 03/default-input
+ '("00100"
+ "11110"
+ "10110"
+ "10111"
+ "10101"
+ "01111"
+ "00111"
+ "11100"
+ "10000"
+ "11001"
+ "00010"
+ "01010"))
(deftest 03/test-ex-a (03/aoc)
(let ((result (03/part-a (03/parse-input-direct 03/default-input))))