check if 3 numbers can be a triangle test