def test_wrapping_readfile(): content = [] with open("input.secret") as f: content = f.readlines() paper = wrapping_paper_dimensions.calculate_wrapping_paper(content) assert 1598415 == paper
def test_calculate_wrapping_test_data(): assert 58 == wrapping_paper_dimensions.calculate_wrapping_paper(["2x3x4"]) assert 43 == wrapping_paper_dimensions.calculate_wrapping_paper(["1x1x10"])