My (ad hoc) solutions to the Advent of Code 2017 programming challenges.
And yes, the whole import and testing part is very hackish. This is a very "top-of-the-knee" project.
If I had to do this again, I'd go for less boilerplate and improve my import/lib use knowledge. But since I solved many of the problems before thinking of putting the solutions on GitHub...
And yes, some solutions (and tests) take quite a bit to compute. I really need to profile and optimize them.
Work in Progress:
Days Solved: 1-6 + 7.1 + 8-9 + 11 + 15-16 + 20 + 22 + 24 of 25
Install needed pytest and pytest-mock on virtualenv
$ make init
Run and test (inside virtualenv)
$ make run_all
$ make test_all
Run and test specific solution (inside virtualenv)
$ ./run.py 1 1
$ ./test.py 1
Runs day 1, part 1 and tests day 1 (all parts)