public void RemoveSurveyedSurfaceDetails() { var surveyedSurfaceUid = Guid.NewGuid(); var designUid = Guid.NewGuid(); var ss = new TRex.SurveyedSurfaces.SurveyedSurfaces(); ss.AddSurveyedSurfaceDetails(surveyedSurfaceUid, new DesignDescriptor(designUid, "Folder", "FileName"), DateTime.UtcNow, BoundingWorldExtent3D.Full()); ss.Count.Should().Be(1); ss.RemoveSurveyedSurface(surveyedSurfaceUid).Should().BeTrue(); ss.Count.Should().Be(0); }
public void RemoveSurveyedSurfaceDetails_EmptyList() { var ss = new TRex.SurveyedSurfaces.SurveyedSurfaces(); ss.RemoveSurveyedSurface(Guid.NewGuid()).Should().BeFalse(); }