Write a function to remove all elements from a given list present in another list.
def remove_elements(list1, list2):
    result = [x for x in list1 if x not in list2]
    return result
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to remove all elements from a given list present in another list.
def remove_elements(list1, list2):
    result = [x for x in list1 if x not in list2]
    return result[/INST]assert remove_elements([1,2,3,4,5,6,7,8,9,10],[2,4,6,8])==[1, 3, 5, 7, 9, 10]
assert remove_elements([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],[1, 3, 5, 7])==[2, 4, 6, 8, 9, 10]
assert remove_elements([1, 2, 3, 4, 5, 6, 7, 8, 9, 10],[5,7])==[1, 2, 3, 4, 6, 8, 9, 10]</s>