public void ToSplinesTest() { PMBoundary boundary = _powerMILL.ActiveProject.Boundaries.CreateBoundary(TestFiles.CurvesFiles); var splines = boundary.ToSplines(); Assert.AreEqual(2, splines.Count); }
public void CreateFromSpline() { PMBoundary boundary = _powerMILL.ActiveProject.Boundaries.CreateBoundary(TestFiles.CurvesFiles); var spline = boundary.ToSplines().First(); PMBoundary newBoundary = _powerMILL.ActiveProject.Boundaries.CreateBoundary(spline); Assert.NotNull(newBoundary); }