Write a python function to determine whether all the numbers are different from each other are not.
def test_distinct(data):
  if len(data) == len(set(data)):
    return True
  else:
    return False;
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a python function to determine whether all the numbers are different from each other are not.
def test_distinct(data):
  if len(data) == len(set(data)):
    return True
  else:
    return False;[/INST]assert test_distinct([1,5,7,9]) == True
assert test_distinct([2,4,5,5,7,9]) == False
assert test_distinct([1,2,3]) == True</s>