diff --git a/days/input/day1_input b/days/input/day01_input similarity index 100% rename from days/input/day1_input rename to days/input/day01_input diff --git a/days/input/day2_input b/days/input/day02_input similarity index 100% rename from days/input/day2_input rename to days/input/day02_input diff --git a/days/input/day3_input b/days/input/day03_input similarity index 100% rename from days/input/day3_input rename to days/input/day03_input diff --git a/days/input/day5_input b/days/input/day05_input similarity index 100% rename from days/input/day5_input rename to days/input/day05_input diff --git a/days/input/day6_input b/days/input/day06_input similarity index 100% rename from days/input/day6_input rename to days/input/day06_input diff --git a/days/input/day7_input b/days/input/day07_input similarity index 100% rename from days/input/day7_input rename to days/input/day07_input diff --git a/days/input/day8_input b/days/input/day08_input similarity index 100% rename from days/input/day8_input rename to days/input/day08_input diff --git a/days/input/day9_input b/days/input/day09_input similarity index 100% rename from days/input/day9_input rename to days/input/day09_input diff --git a/days/test_day1.py b/days/test_day01.py similarity index 84% rename from days/test_day1.py rename to days/test_day01.py index 691c1cc..be7e628 100644 --- a/days/test_day1.py +++ b/days/test_day01.py @@ -1,7 +1,7 @@ import os -inputfile = os.path.join(os.path.dirname(__file__), "input/day1_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day01_input") def calc_fuel(mass): diff --git a/days/test_day2.py b/days/test_day02.py similarity index 83% rename from days/test_day2.py rename to days/test_day02.py index 4017400..2864e78 100644 --- a/days/test_day2.py +++ b/days/test_day02.py @@ -3,7 +3,7 @@ import os from . import OpcodeComputer -inputfile = os.path.join(os.path.dirname(__file__), "input/day2_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day02_input") def test_day2a(): diff --git a/days/test_day3.py b/days/test_day03.py similarity index 91% rename from days/test_day3.py rename to days/test_day03.py index 1cf1cfa..cea9f32 100644 --- a/days/test_day3.py +++ b/days/test_day03.py @@ -2,7 +2,7 @@ import os import sys -inputfile = os.path.join(os.path.dirname(__file__), "input/day3_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day03_input") def draw_path(inst): diff --git a/days/test_day4.py b/days/test_day04.py similarity index 100% rename from days/test_day4.py rename to days/test_day04.py diff --git a/days/test_day5.py b/days/test_day05.py similarity index 75% rename from days/test_day5.py rename to days/test_day05.py index bb1991e..5e7831b 100644 --- a/days/test_day5.py +++ b/days/test_day05.py @@ -3,7 +3,7 @@ import os from . import OpcodeComputer -inputfile = os.path.join(os.path.dirname(__file__), "input/day5_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day05_input") def test_day5a(): diff --git a/days/test_day6.py b/days/test_day06.py similarity index 98% rename from days/test_day6.py rename to days/test_day06.py index 035fe4c..19b8ef5 100644 --- a/days/test_day6.py +++ b/days/test_day06.py @@ -3,7 +3,7 @@ from typing import Dict def get_code() -> Dict[str, str]: - inputfile = os.path.join(os.path.dirname(__file__), "input/day6_input") + inputfile = os.path.join(os.path.dirname(__file__), "input/day06_input") with open(inputfile) as fp: return {x[1].rstrip(): x[0] for x in (y.split(')') for y in fp.readlines())} diff --git a/days/test_day7.py b/days/test_day07.py similarity index 93% rename from days/test_day7.py rename to days/test_day07.py index 1326a44..2932252 100644 --- a/days/test_day7.py +++ b/days/test_day07.py @@ -4,7 +4,7 @@ import os from . import OpcodeComputer -inputfile = os.path.join(os.path.dirname(__file__), "input/day7_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day07_input") def test_day7a(): diff --git a/days/test_day8.py b/days/test_day08.py similarity index 94% rename from days/test_day8.py rename to days/test_day08.py index 3fff431..963fce8 100644 --- a/days/test_day8.py +++ b/days/test_day08.py @@ -6,7 +6,7 @@ imgsize = 25 * 6 def get_image(): - inputfile = os.path.join(os.path.dirname(__file__), "input/day8_input") + inputfile = os.path.join(os.path.dirname(__file__), "input/day08_input") with open(inputfile) as fp: img = [int(k) for k in str(fp.readline())] breaks = [imgsize*k for k in range(len(img)//imgsize+1)] diff --git a/days/test_day9.py b/days/test_day09.py similarity index 77% rename from days/test_day9.py rename to days/test_day09.py index 7906aeb..29f63d7 100644 --- a/days/test_day9.py +++ b/days/test_day09.py @@ -4,7 +4,7 @@ import os from .comp import OpcodeComputer -inputfile = os.path.join(os.path.dirname(__file__), "input/day9_input") +inputfile = os.path.join(os.path.dirname(__file__), "input/day09_input") def test_day9a():