|
|
|
@ -2,12 +2,11 @@ import unittest |
|
|
|
import os |
|
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
class Day3(unittest.TestCase): |
|
|
|
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): |
|
|
|
def test_day3a(self): |
|
|
|
with open(self.inputfile) as fp: |
|
|
|
with open(self.inputfile) as fp: |
|
|
|
steps = fp.readline().split(',') |
|
|
|
steps = fp.readline().split(',') |
|
|
|
|
|
|
|
|
|
|
|
pass |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
if __name__ == "__main__": |
|
|
|
|