def test_triangle(dim):
	"""
	Tests if dimensions can come from a triangle.

	dim is a list of the three dimensions (integers)
	"""
	dim = [int(x) for x in dim]
	dim.sort()
	if dim[0] + dim[1] > dim[2]:
		return True
	else:
		return False