Skip to content

zoeimogen/AoC2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2018 Solutions

Solutions to 2018 problems found at AdventOfCode.com

To solve a problem with the input data in inputs/dayXX.txt, simply run python aoc2018/dayXX.py.

Tests can be run with unittest:

$ python3 -m unittest tests/day01_test.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.025s

OK

Tests also include the calculation on the full input data, so that it can be profiled. Output is written to results.txt, which is reset by the day 1 solution.

To run a full test, coverage check (htmlcov/index.html) lint, profile (prof/) and type check use tox.

About

Advent of Code 2018

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages