def test_divide_other_two_numbers(): c = Calc() res = c.div(9, 2) assert res == 4.5
def test_div_by_zero_returns_inf(): c = Calc() res = c.div(99, 0) assert res == 'inf'
def test_divide_two_numbers_float(): c = Calc() res = c.div(13, 2) assert res == 6.5