20 lines
373 B
Go
20 lines
373 B
Go
package day12
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.bizdoc.ro/gabi-public/Advent-of-Code.git/tests"
|
|
)
|
|
|
|
func TestPart1Example(t *testing.T) {
|
|
t.Skip("solution does not work for example")
|
|
const want = 2
|
|
tests.Test(t, "example.txt", tests.Handler(Part1), want)
|
|
}
|
|
|
|
func TestPart1(t *testing.T) {
|
|
t.Helper()
|
|
const want = 510
|
|
tests.Test(t, "input.txt", tests.Handler(Part1), want)
|
|
}
|