public static void LocalCoordinates() { EquilateralTriangle triangle = new EquilateralTriangle(8); IList <CartesianCoordinate> coordinates = triangle.LocalCoordinates(); Assert.AreEqual(3, coordinates.Count); Assert.AreEqual(triangleCoordinates[0], coordinates[0]); Assert.AreEqual(triangleCoordinates[1], coordinates[1]); Assert.AreEqual(triangleCoordinates[2].X, coordinates[2].X, Tolerance); Assert.AreEqual(triangleCoordinates[2].Y, coordinates[2].Y, Tolerance); }