1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 14:01:17 +00:00
aoc2019/day05_test.go

22 lines
446 B
Go
Raw Normal View History

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