def test_part2_with_puzzle_input(): assert 20220949 == part2(test_data_initial_state, text("chocolate_charts"))
def test_part1_with_puzzle_input(): assert 35911 == part1(text('memory_maneuver'))
def test_part1_with_puzzle_input(): assert 245280 == part1(text('beverage_bandits'))
def test_part2_with_puzzle_input(): assert (86, 18) == part2(text('mine_cart_madness'))
def test_part1_with_puzzle_input(): assert 1694 == part1(text("go_with_the_flow_program"))
def test_part2_with_puzzle_input(): assert 886 == part2(text("the_sum_of_its_parts"))
def test_part2_with_puzzle_input(): assert 8756 == part2(text("a_regular_map"))
def test_part1_with_puzzle_data(): assert 2140 == answer(text('subterranean_sustainability'), 20)
def test_part2_with_puzzle_data(): assert 1900000000384 == answer(text('subterranean_sustainability'), 50_000_000_000)
def test_part1_with_puzzle_input(): assert 151754 == part1(text("response_record"))
def test_part2_with_puzzle_input(): assert 19896 == part2(text("response_record"))
def test_part2_with_puzzle_input(): assert "#412" == part2(text("no_matter_how_you_slice_it"))
def test_part1_with_puzzle_input(): assert 118223 == part1(text("no_matter_how_you_slice_it"))
def test_part1_with_puzzle_input(): assert 425 == part1(text("four_dimensional_adventure"))
def test_part2_with_puzzle_input(): assert 709 == part2(text("chronal_calibration"))
def test_part1_with_puzzle_input(): assert (235, 14) == part1(int(text("chronal_charge")))
def test_part1_with_puzzle_input(): assert "GNJOCHKSWTFMXLYDZABIREPVUQ" == part1(text("the_sum_of_its_parts"))
def test_part2_with_puzzle_input(): assert (237, 227, 14) == part2(int(text("chronal_charge")))
def test_part1_with_puzzle_input(): assert 3633 == part1(text("a_regular_map"))
def test_part1_with_puzzle_input(): assert 355918 == part1(text("settlers_of_the_north_pole"))
def test_part1_with_puzzle_input(): assert (26, 92) == part1(text('mine_cart_madness'))
def test_part2_with_puzzle_input(): assert 202806 == part2(text("settlers_of_the_north_pole"), 1_000_000_000)
def test_part2_with_puzzle_input(): assert 10003 == part1(text("the_stars_align"))[0]
def test_part1_with_puzzle_input(): assert 9633 == part1(text("inventory_management_system"))
def test_part2_with_puzzle_input(): assert 18964204 == part2(text("go_with_the_flow_program"))
def test_part2_with_puzzle_input(): assert "lujnogabetpmsydyfcovzixaw" == part2( text("inventory_management_system"))
def test_part2_with_puzzle_input(): assert 17206 == part2(text('memory_maneuver'))
def test_part1_with_puzzle_input(): assert 500 == part1(text("chronal_calibration"))
def test_part2_with_puzzle_input(): assert 74984 == part2(text('beverage_bandits'))
def test_part1_with_puzzle_input(): assert "1776718175" == part1(test_data_initial_state, int(text("chocolate_charts")))