def comp_range_size(_in, expected): assert_equal(expected, from_human_size(str(_in), default=0, minimum=0, accept_range=True))
def comp_range_size_fail(_in): from_human_size(str(_in), default=0, minimum=0, accept_range=True)
def comp_from_human_size(_in, expected, minimum, default): assert_equal(expected, from_human_size(str(_in), minimum=minimum, default=default))