1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 14:01:17 +00:00
aoc2019/day13_test.go
Knut Ahlers 1c34ac5186
Add solution for Day 13
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-13 18:21:35 +01:00

21 lines
448 B
Go

package aoc2019
import "testing"
func TestCalculateDay13_Part1(t *testing.T) {
count, err := solveDay13Part1("day13_input.txt")
if err != nil {
t.Fatalf("Day 13 solver failed: %s", err)
}
t.Logf("Solution Day 13 Part 1: %d", count)
}
func TestCalculateDay13_Part2(t *testing.T) {
res, err := solveDay13Part2("day13_input.txt")
if err != nil {
t.Fatalf("Day 13 solver failed: %s", err)
}
t.Logf("Solution Day 13 Part 2: %d", res)
}