28 lines
556 B
Go
28 lines
556 B
Go
package day11
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.bizdoc.ro/gabi-public/Advent-of-Code.git/tests"
|
|
)
|
|
|
|
func TestPart1Example(t *testing.T) {
|
|
const want = 5
|
|
tests.Test(t, "example.txt", tests.Handler(Part1), want)
|
|
}
|
|
|
|
func TestPart1(t *testing.T) {
|
|
const want = 764
|
|
tests.Test(t, "input.txt", tests.Handler(Part1), want)
|
|
}
|
|
|
|
func TestPart2Example(t *testing.T) {
|
|
const want = 2
|
|
tests.Test(t, "example_part2.txt", tests.Handler(Part2), want)
|
|
}
|
|
|
|
func TestPart2(t *testing.T) {
|
|
const want = 462444153119850
|
|
tests.Test(t, "input.txt", tests.Handler(Part2), want)
|
|
}
|