@ -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
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)
@ -2,13 +2,12 @@ import unittest
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
if __name__ == "__main__":
unittest.main()