1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 05:51:16 +00:00
aoc2019/day05_test.go
Knut Ahlers 658829657b
Add solution for Day 5
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-05 16:53:40 +01:00

21 lines
446 B
Go

package aoc2019
import "testing"
func TestCalculateDay5_Part1(t *testing.T) {
result, err := solveDay5Part1("day05_input.txt")
if err != nil {
t.Fatalf("Day 5 solver failed: %s", err)
}
t.Logf("Solution Day 5 Part 1: %d", result)
}
func TestCalculateDay5_Part2(t *testing.T) {
count, err := solveDay5Part2("day05_input.txt")
if err != nil {
t.Fatalf("Day 5 solver failed: %s", err)
}
t.Logf("Solution Day 5 Part 2: %d", count)
}