import pytest
from aoc2020 import day12


input = ["F10", "N3", "F7", "R90", "F11"]


def test_solution1():
    distance, _ = day12.solve_part1(input, True)
    assert distance == 25


def test_solution2():
    distance, _ = day12.solve_part2(input, True)
    assert distance == 286

c40e385013132388ebbb4f36790283e1be96d75c
<mask token>

<mask token>


def test_solution1():
    distance, _ = day12.solve_part1(input, True)
    assert distance == 25


def test_solution2():
    distance, _ = day12.solve_part2(input, True)
    assert distance == 286

<mask token>
input = ['F10', 'N3', 'F7', 'R90', 'F11']


def test_solution1():
    distance, _ = day12.solve_part1(input, True)
    assert distance == 25


def test_solution2():
    distance, _ = day12.solve_part2(input, True)
    assert distance == 286

import pytest
from aoc2020 import day12
input = ['F10', 'N3', 'F7', 'R90', 'F11']


def test_solution1():
    distance, _ = day12.solve_part1(input, True)
    assert distance == 25


def test_solution2():
    distance, _ = day12.solve_part2(input, True)
    assert distance == 286

import pytest
from aoc2020 import day12


input = ["F10", "N3", "F7", "R90", "F11"]


def test_solution1():
    distance, _ = day12.solve_part1(input, True)
    assert distance == 25


def test_solution2():
    distance, _ = day12.solve_part2(input, True)
    assert distance == 286
