1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 14:01:17 +00:00
aoc2019/day09_test.go
Knut Ahlers d11d14dfb9
Add solution for Day 9
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-09 18:48:40 +01:00

21 lines
448 B
Go

package aoc2019
import "testing"
func TestCalculateDay9_Part1(t *testing.T) {
codeP0, err := solveDay9Part1("day09_input.txt")
if err != nil {
t.Fatalf("Day 9 solver failed: %s", err)
}
t.Logf("Solution Day 9 Part 1: %d", codeP0)
}
func TestCalculateDay9_Part2(t *testing.T) {
result, err := solveDay9Part2("day09_input.txt")
if err != nil {
t.Fatalf("Day 9 solver failed: %s", err)
}
t.Logf("Solution Day 9 Part 2: %d", result)
}