public void SameClippedVerticesAfterRedo() { Random.InitState(10); var points = CreateRandomPoints(50); Voronoi voronoi = TestVoronoi(points); var edges = new List <Vector2f>(); voronoi.GetAllClippedLines(edges); // redo multiple times for (int i = 0; i < 100; i++) { voronoi.Redo(points, TestBounds()); } var edges2 = new List <Vector2f>(); voronoi.GetAllClippedLines(edges2); for (int i = 0; i < edges.Count; i++) { Assert.AreEqual(edges[i], edges2[i]); } }