def test_case_2(): assert Day(data).solve2() == 1924
def test_case_2(): assert Day.solve2(data) == 230
def test_case_1(): assert Day(data).solve1() == 4512
def test_co2(): assert Day.extract(data.splitlines(), "co2") == "01010"
def test_oxygen(): assert Day.extract(data.splitlines(), "oxygen") == "10111"
def test_case_1(): assert Day.solve1(data) == 198
def test_case_2(): assert Day(data).solve2(18) == 26 assert Day(data).solve2(256) == 26984457539
def test_case_1(): assert Day(data).solve1(80) == 5934