Files
advent-of-code/internal/2025/DayThree/code_test.go

19 lines
302 B
Go

package daythree
import "testing"
var testInput = []string{
"987654321111111",
"811111111111119",
"234234234234278",
"818181911112111",
}
func TestPartOne(t *testing.T) {
expected := 357
got := PartOne(testInput)
if got != expected {
t.Errorf("PartOne() = %d, want %d", got, expected)
}
}