|
|
|
@ -16,7 +16,7 @@ class Day2(unittest.TestCase): |
|
|
|
def test_day2b(self): |
|
|
|
def test_day2b(self): |
|
|
|
with open(self.inputfile) as fp: |
|
|
|
with open(self.inputfile) as fp: |
|
|
|
file_code = [int(k) for k in fp.readline().split(',')] |
|
|
|
file_code = [int(k) for k in fp.readline().split(',')] |
|
|
|
for a, b in [(x, y) for x in range(55) for y in range(70)]: |
|
|
|
for a, b in [(x, y) for x in range(100) for y in range(100)]: |
|
|
|
code = list(file_code) |
|
|
|
code = list(file_code) |
|
|
|
code[1] = a |
|
|
|
code[1] = a |
|
|
|
code[2] = b |
|
|
|
code[2] = b |
|
|
|
|