diff --git a/days/day1.py b/days/day1.py index 22cc110..8d32ce6 100644 --- a/days/day1.py +++ b/days/day1.py @@ -2,7 +2,7 @@ import unittest import os class Day1(unittest.TestCase): - inputfile = os.path.join(os.path.dirname(__file__), "day1_input") + inputfile = os.path.join(os.path.dirname(__file__), "input/day1_input") def calc_fuel(self, mass): fuel = mass // 3 - 2 diff --git a/days/day2.py b/days/day2.py index c643b73..901ba2a 100644 --- a/days/day2.py +++ b/days/day2.py @@ -2,7 +2,7 @@ import unittest import os class Day2(unittest.TestCase): - inputfile = os.path.join(os.path.dirname(__file__), "day2_input") + inputfile = os.path.join(os.path.dirname(__file__), "input/day2_input") def test_day2a(self): self.assertTrue(1 == 1) diff --git a/days/day3.py b/days/day3.py index 05ad0c1..5b0f486 100644 --- a/days/day3.py +++ b/days/day3.py @@ -2,13 +2,12 @@ import unittest import os class Day3(unittest.TestCase): - inputfile = os.path.join(os.path.dirname(__file__), "day3_input") + inputfile = os.path.join(os.path.dirname(__file__), "input/day3_input") def test_day3a(self): with open(self.inputfile) as fp: steps = fp.readline().split(',') - - pass + pass if __name__ == "__main__": unittest.main() \ No newline at end of file diff --git a/days/day1_input b/days/input/day1_input similarity index 100% rename from days/day1_input rename to days/input/day1_input diff --git a/days/day2_input b/days/input/day2_input similarity index 100% rename from days/day2_input rename to days/input/day2_input diff --git a/days/day3_input b/days/input/day3_input similarity index 100% rename from days/day3_input rename to days/input/day3_input