Ejemplo n.º 1
0
def test_solve1():
    solution = solve1(data)
    assert solution == 71
Ejemplo n.º 2
0
def test_solve1():
    solution = solve1(data, 5)
    assert solution == 127
Ejemplo n.º 3
0
def test_solve1():
    solution = solve1(data)
Ejemplo n.º 4
0
def test_solve2():
    solution = solve2(data)
    assert solve1([1, 2, 3, 4, 5, 6, 7]) == 1
    assert solution == 241861950
Ejemplo n.º 5
0
def test_solve1():
    solution = solve1(data)
    assert solve1([1, 2, 3, 4, 5, 6, 7]) == 1
    assert solution == 514579
Ejemplo n.º 6
0
def test_solve1():
    my_data = copy.deepcopy(data)
    solution = solve1(my_data)
    assert solution == 37