Skip to content

My (ad hoc) solutions to the Advent of Code 2017 programming challenges

License

Notifications You must be signed in to change notification settings

NunoMCSilva/My-Advent-of-Code-2017-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Advent of Code 2017 Solutions

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

Execute

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)

About

My (ad hoc) solutions to the Advent of Code 2017 programming challenges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published