Пример #1
0
def test_part_1_sample_3():
    ans = p15.part_1(sample_3)
    assert_equal(ans, 36334, "Wrong resulting answer")
Пример #2
0
def test_part_1_sample_2():
    ans = p15.part_1(sample_2)
    assert_equal(ans, 27730, "Wrong resulting answer")
Пример #3
0
def test_part_1_real():
    with open(input_file_path) as f:
        real_input = f.read()
    ans = p15.part_1(real_input)
    assert_equal(ans, 243390, "Wrong resulting answer")
Пример #4
0
def test_part_1_sample_7():
    ans = p15.part_1(sample_7)
    assert_equal(ans, 18740, "Wrong resulting answer")
Пример #5
0
def test_part_1_sample_6():
    ans = p15.part_1(sample_6)
    assert_equal(ans, 28944, "Wrong resulting answer")
Пример #6
0
def test_part_1_sample_4():
    ans = p15.part_1(sample_4)
    assert_equal(ans, 39514, "Wrong resulting answer")