A correct test of equilateral triangle