A place to store my solutions to Advent of Code problems.
- Automated testing using provided test data
- Output Part 1
- Output Part 2
Future
- Run entire module
- Entire module has nice output for each year/day
python3 -m venv ./venv_adventofcode
source ./venv_adventofcode/bin/activate
pip install -r requirements.txt
Ensure requirements in place
pip install -r requirements_dev.txt
Run all tests
pytest
Run all unittest tests
python3 -m unittest discover -s tests/
Run a specific pytest test
Note: Output flavours
pytest tests/year2015/test_day01.py
Run a specific unittest test
python3 -m unittest tests/year2015/test_day01.py
Run entire module
python3 -m adventofcode
Run specific day
python3 ./adventofcode/year2015/day01.py