1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 14:01:17 +00:00
aoc2019/README.md
Knut Ahlers c4133300d0
Add make target to execute single days
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-06 14:26:43 +01:00

815 B

Luzifer / aoc2019

This repository contains my solutions for Advent of Code 2019.

To execute them just use the tests for the respective day through make dayXX (some days require extra code files, the make instructions contains them):

# make day01
go test -cover -v \
	day01.go day01_test.go \
	helpers.go intcode.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
coverage: 23.3% of statements
ok  	command-line-arguments	(cached)	coverage: 23.3% of statements