def test_type_and_magnitude_float():
    a_float = '98.6'
    result = float(type_and_magnitude(a_float))
    assert(result > 9 and result < 100)
    assert(type_and_magnitude(a_float).count('.') == 1)
def test_type_and_magnitude_int():
    an_int = '80'
    result = int(type_and_magnitude(an_int))
    assert(result > 9 and result < 100)