Check for invalid triangle case.