advent-of-code-2024

My solutions to AoC 2024
Log | Files | Refs

commit 1fa9aa89ff2daf4cc4a43f917512963bf9a4ab6b
parent f4702ab909eae61b66c4164fb82c26bdb4f78337
Author: Lukas Henkel <lh@entf.net>
Date:   Tue,  3 Dec 2024 06:15:56 +0100

Add test

Diffstat:
Mt/day-3.lisp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/day-3.lisp b/t/day-3.lisp @@ -4,4 +4,5 @@ (define-test test-day-3 () - ) -\ No newline at end of file + (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))")) + (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))"))))