public void Icosahedron() { Mesh m = PrimitiveShapes.Icosahedron(); Assert.AreEqual(12, m.Vertices.Count()); Assert.AreEqual(20, m.Faces.Count()); Assert.AreEqual(60, m.HalfEdges.Count()); foreach (var e in m.HalfEdges) { Assert.IsNotNull(e.Face); Assert.IsNotNull(e.Next); } }