Write a python function to check if the elements of a given list are unique or not.
def all_unique(test_list):
    if len(test_list) > len(set(test_list)):
        return False
    return True
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a python function to check if the elements of a given list are unique or not.
def all_unique(test_list):
    if len(test_list) > len(set(test_list)):
        return False
    return True[/INST]assert all_unique([1,2,3]) == True
assert all_unique([1,2,1,2]) == False
assert all_unique([1,2,3,4,5]) == True</s>