示例#1
0
文件: 3.py 项目: JohnGinger/aoc
def test_example3_part2():
    answer, lines = get_puzzle_tests(3, 3)
    result = part_two(lines)
    expected_answer = int(answer[1])
    assert result == expected_answer
示例#2
0
def test_example2():
    answer, lines = get_puzzle_tests(6, 2)
    assert int(answer[0]) == part_two(lines)
示例#3
0
文件: 3.py 项目: JohnGinger/aoc
def test_example3():
    answer, lines = get_puzzle_tests(3, 3)
    result = part_one(lines)
    expected_answer = int(answer[0])
    assert result == expected_answer
示例#4
0
def test_example1():
    answer, lines = get_puzzle_tests(6, 1)
    assert int(answer[0]) == part_one(lines)