Write a python function to find the perimeter of a cylinder.
def perimeter(diameter,height) : 
    return 2*(diameter+height)  
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a python function to find the perimeter of a cylinder.
def perimeter(diameter,height) : 
    return 2*(diameter+height)  [/INST]assert perimeter(2,4) == 12
assert perimeter(1,2) == 6
assert perimeter(3,1) == 8</s>