Write a function to print check if the triangle is equilateral or not.
def check_equilateral(x,y,z):
  if x == y == z:
	   return True
  else:
     return False
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to print check if the triangle is equilateral or not.
def check_equilateral(x,y,z):
  if x == y == z:
	   return True
  else:
     return False[/INST]assert check_equilateral(6,8,12)==False 
assert check_equilateral(6,6,12)==False
assert check_equilateral(6,6,6)==True</s>