Blob
1 (defpackage #:aoc-test/day-32 (:use #:cl #:lisp-unit2)3 (:import-from aoc/day-3))4 (in-package #:aoc-test/day-3)6 (define-test test-day-37 ()8 (assert= 161 (aoc:run-day 3 "xmul(2,4)%&mul[3,7]!@^do_not_mul(5,5)+mul(32,64]then(mul(11,8)mul(8,5))"))9 (assert= 48 (nth-value 1 (aoc:run-day 3 "xmul(2,4)&mul[3,7]!^don't()_mul(5,5)+mul(32,64](mul(11,8)undo()?mul(8,5))"))))
