|
@ -46,6 +46,12 @@ func TestPuzzles(t *testing.T) { |
|
|
8 6 4 4 1 |
|
|
8 6 4 4 1 |
|
|
1 3 6 7 9`, |
|
|
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 { |
|
|
for i, tt := range tests { |
|
|