def test_get_op_dec(): actual = aoc_08.get_op('dec') expected = operator.sub assert actual == expected
def test_get_op_inc(): actual = aoc_08.get_op('inc') expected = operator.add assert actual == expected
def test_get_op_not_equal(): actual = aoc_08.get_op('!=') expected = operator.ne assert actual == expected
def test_get_op_gte(): actual = aoc_08.get_op('>=') expected = operator.ge assert actual == expected
def test_get_op_lte(): actual = aoc_08.get_op('<=') expected = operator.le assert actual == expected
def test_get_op_eq(): actual = aoc_08.get_op('==') expected = operator.eq assert actual == expected
def test_get_op_lt(): actual = aoc_08.get_op('<') expected = operator.lt assert actual == expected