1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-10-18 11:14:19 +00:00
aoc2019/day05_test.go

22 lines
446 B
Go
Raw Permalink 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)
}