Triangles test