From 94431354376f3c4d6ee1962b3343bd514cd320f6 Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Tue, 3 Dec 2024 21:40:30 -0500 Subject: [PATCH] begin day 3 with test --- 2024/puzzle_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/2024/puzzle_test.go b/2024/puzzle_test.go index d08aeab..0ca2de6 100644 --- a/2024/puzzle_test.go +++ b/2024/puzzle_test.go @@ -46,6 +46,12 @@ func TestPuzzles(t *testing.T) { 8 6 4 4 1 1 3 6 7 9`, }, + { + solver: Day3{}, + ans1: "161", + ans2: "", + input: "xmul(2,4)%&mul[3,7]!@^do_not_mul(5,5)+mul(32,64]then(mul(11,8)mul(8,5))", + }, } for i, tt := range tests {