Advent-of-Code/year25/day10/day_test.go
2025-12-23 19:27:19 +02:00

29 lines
635 B
Go

package day10_test
import (
"testing"
"git.bizdoc.ro/gabi-public/Advent-of-Code.git/tests"
"git.bizdoc.ro/gabi-public/Advent-of-Code.git/year25/day10"
)
func TestPart1Example(t *testing.T) {
const want = 7
tests.Test(t, "example.txt", tests.Handler(day10.Part1), want)
}
func TestPart1(t *testing.T) {
const want = 447
tests.Test(t, "input.txt", tests.Handler(day10.Part1), want)
}
func TestPart2Example(t *testing.T) {
const want = 33
tests.Test(t, "example.txt", tests.Handler(day10.Part2V3), want)
}
func TestPart2(t *testing.T) {
const want = 18960
tests.Test(t, "input.txt", tests.Handler(day10.Part2V3), want)
}