def test_avg_float(): a = 0.1112 b = 0.1113 assert abs(average(a, b) - 0.11125) < epsilon
def test_avg_int(): a = 1 b = 2 assert abs(average(a, b) - 1.5) < epsilon
def test_avg_int_2(): a = 35112 b = 35113 assert abs(average(a, b) - 35112.5) < epsilon
def test_avg_float(): a = 1.0 b = 3.0 assert abs(average(a, b) - 2.0) < epsilon