fix: modify test, we're parsing [][]int instead of []string for this day

This commit is contained in:
2025-12-03 09:57:12 +01:00
parent c1ba2ca02b
commit 070bd8be9a

View File

@@ -2,11 +2,11 @@ package daythree
import "testing"
var testInput = []string{
"987654321111111",
"811111111111119",
"234234234234278",
"818181911112111",
var testInput = [][]int{
{9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1},
{8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9},
{2, 3, 4, 2, 3, 4, 2, 3, 4, 2, 3, 4, 2, 7, 8},
{8, 1, 8, 1, 8, 1, 9, 1, 1, 1, 1, 2, 1, 1, 1},
}
func TestPartOne(t *testing.T) {