def test_part1_12(): data = """12""" assert rocket_equation.part1(data) == 2
def test_part1(): with open(input_file) as f: data = f.read() expected = 3342050 assert rocket_equation.part1(data) == expected
def test_part1_100756(): data = """100756""" assert rocket_equation.part1(data) == 33583
def test_part1_example(): data = """12 14 1969 100756""" assert rocket_equation.part1(data) == 34241
def test_part1_1969(): data = """1969""" assert rocket_equation.part1(data) == 654