1
0
Fork 0
mirror of https://github.com/Luzifer/aoc2019.git synced 2024-12-22 05:51:16 +00:00
This repository contains my solutions for Advent of Code 2019.
Find a file
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
.gitignore Add solution for Day 5 2019-12-05 16:53:40 +01:00
day01.go Add solution for Day 1 2019-12-01 14:28:58 +01:00
day01_input.txt Add solution for Day 1 2019-12-01 14:28:58 +01:00
day01_test.go Add solution for Day 1 2019-12-01 14:28:58 +01:00
day02.go Add solution for Day 5 2019-12-05 16:53:40 +01:00
day02_input.txt Add solution for Day 2 2019-12-02 19:20:52 +01:00
day02_test.go Add solution for Day 2 2019-12-02 19:20:52 +01:00
day03.go Add solution for Day 3 2019-12-03 17:14:23 +01:00
day03_input.txt Add solution for Day 3 2019-12-03 17:14:23 +01:00
day03_test.go Add solution for Day 3 2019-12-03 17:14:23 +01:00
day04.go Add solution for Day 4 2019-12-04 15:13:58 +01:00
day04_input.txt Add solution for Day 4 2019-12-04 15:13:58 +01:00
day04_test.go Add solution for Day 4 2019-12-04 15:13:58 +01:00
day05.go Add solution for Day 5 2019-12-05 16:53:40 +01:00
day05_input.txt Add solution for Day 5 2019-12-05 16:53:40 +01:00
day05_test.go Add solution for Day 5 2019-12-05 16:53:40 +01:00
day06.go Add solution for Day 6 2019-12-06 14:21:19 +01:00
day06_input.txt Add solution for Day 6 2019-12-06 14:21:19 +01:00
day06_test.go Add solution for Day 6 2019-12-06 14:21:19 +01:00
helpers.go Add solution for Day 3 2019-12-03 17:14:23 +01:00
helpers_test.go Add solution for Day 3 2019-12-03 17:14:23 +01:00
intcode.go Add solution for Day 5 2019-12-05 16:53:40 +01:00
intcode_test.go Add solution for Day 5 2019-12-05 16:53:40 +01:00
LICENSE Add meta-files 2019-12-01 14:33:17 +01:00
Makefile Add make target to execute single days 2019-12-06 14:26:43 +01:00
README.md Add make target to execute single days 2019-12-06 14:26:43 +01:00

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