/advent

My Advent of Code solutions in Python.

Primary LanguagePythonMIT LicenseMIT

iKevinY/advent

My Advent of Code solutions.

Test Runner

Under the request of the Advent of Code team, puzzle inputs and outputs are not being committed to this repo. However, I have written a small test runner for the puzzles.

The runner assumes that the input for year YYYY, day DD is stored in YYYY/inputs/DD.txt, and that the expected output is present in YYYY/outputs/DD.txt. If both files are present, the file will be tested against the input; it passes if all lines in the output file are printed to stdout during the execution of the program.

License

Code in the 2015, 2016, 2017, and 2018 directories are licensed under the MIT License.