1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 14:01:17 +00:00
aoc2019/day15_test.go
Knut Ahlers 3164135e81
Add solution for Day 15
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-15 16:22:50 +01:00

21 lines
448 B
Go

package aoc2019
import "testing"
func TestCalculateDay15_Part1(t *testing.T) {
count, err := solveDay15Part1("day15_input.txt")
if err != nil {
t.Fatalf("Day 15 solver failed: %s", err)
}
t.Logf("Solution Day 15 Part 1: %d", count)
}
func TestCalculateDay15_Part2(t *testing.T) {
res, err := solveDay15Part2("day15_input.txt")
if err != nil {
t.Fatalf("Day 15 solver failed: %s", err)
}
t.Logf("Solution Day 15 Part 2: %d", res)
}