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 | ||
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:
# 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