1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-10-18 11:14:19 +00:00
aoc2019/README.md
Knut Ahlers 34a363cce1
Add helpers to test in README
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-03 17:25:10 +01:00

621 B

Luzifer / aoc2019

This repository contains my solutions for Advent of Code 2019.

To execute them just use the tests for the respective day:

# go test -v day01.go day01_test.go helpers.go
=== RUN   TestCalculateDay1_Examples
--- PASS: TestCalculateDay1_Examples (0.00s)
=== RUN   TestCalculateDay1_Part1
--- PASS: TestCalculateDay1_Part1 (0.00s)
    day01_test.go:34: Solution Day 1 Part 1: 3126794
=== RUN   TestCalculateDay1_Part2
--- PASS: TestCalculateDay1_Part2 (0.00s)
    day01_test.go:43: Solution Day 1 Part 2: 4687331
PASS
ok  	command-line-arguments	0.001s