mirror of
https://github.com/Luzifer/aoc2019.git
synced 2024-12-22 05:51:16 +00:00
21 lines
446 B
Go
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)
|
|
}
|