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.
|
||
---|---|---|
.gitignore | ||
day01.go | ||
day01_input.txt | ||
day01_test.go | ||
day02.go | ||
day02_input.txt | ||
day02_test.go | ||
day03.go | ||
day03_input.txt | ||
day03_test.go | ||
day04.go | ||
day04_input.txt | ||
day04_test.go | ||
day05.go | ||
day05_input.txt | ||
day05_test.go | ||
day06.go | ||
day06_input.txt | ||
day06_test.go | ||
day07.go | ||
day07_input.txt | ||
day07_test.go | ||
day08.go | ||
day08_image.png | ||
day08_input.txt | ||
day08_test.go | ||
day09.go | ||
day09_input.txt | ||
day09_test.go | ||
day10.go | ||
day10_input.txt | ||
day10_test.go | ||
day11.go | ||
day11_image.png | ||
day11_input.txt | ||
day11_test.go | ||
day12.go | ||
day12_input.txt | ||
day12_test.go | ||
go.mod | ||
helpers.go | ||
helpers_test.go | ||
intcode.go | ||
intcode_test.go | ||
LICENSE | ||
Makefile | ||
README.md |
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