1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 22:11:16 +00:00
aoc2019/day15_test.go

22 lines
448 B
Go
Raw Normal View History

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)
}