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 588a27e37d
Add solution for Day 4
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-04 15:13:58 +01:00
.gitignore Add solution for Day 3 2019-12-03 17:14:23 +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 2 2019-12-02 19:20:52 +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
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
LICENSE Add meta-files 2019-12-01 14:33:17 +01:00
README.md Add helpers to test in README 2019-12-03 17:25:10 +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:

# 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