mirror of
https://github.com/Luzifer/aoc2019.git
synced 2024-12-22 14:01:17 +00:00
21 lines
444 B
Go
21 lines
444 B
Go
package aoc2019
|
|
|
|
import "testing"
|
|
|
|
func TestCalculateDay17_Part1(t *testing.T) {
|
|
res, err := solveDay17Part1("day17_input.txt")
|
|
if err != nil {
|
|
t.Fatalf("Day 17 solver failed: %s", err)
|
|
}
|
|
|
|
t.Logf("Solution Day 17 Part 1: %d", res)
|
|
}
|
|
|
|
func TestCalculateDay17_Part2(t *testing.T) {
|
|
res, err := solveDay17Part2("day17_input.txt")
|
|
if err != nil {
|
|
t.Fatalf("Day 17 solver failed: %s", err)
|
|
}
|
|
|
|
t.Logf("Solution Day 17 Part 2: %d", res)
|
|
}
|