public static void AssertContains(this Vector3DCollection collection, params double[][] points) { Assert.AreEqual(points.Length, collection.Count, "Expected to find {0} points in collection", points.Length); foreach (var point in points) { Assert.IsTrue(collection.Contains(new Vector3D(point[0], point[1], point[2])), "Expected collection to contain point [{0},{1},{2}]", point[0], point[1], point[2]); } }