Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PipingCalculationConfigurationHelperTest.cs =================================================================== diff -u -r6b60edb4d7f04f83c74089d70a72c4f79ed413dd -r5e5695f9f466a0ab54a59b61879f5d7a66e6ffb1 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PipingCalculationConfigurationHelperTest.cs (.../PipingCalculationConfigurationHelperTest.cs) (revision 6b60edb4d7f04f83c74089d70a72c4f79ed413dd) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PipingCalculationConfigurationHelperTest.cs (.../PipingCalculationConfigurationHelperTest.cs) (revision 5e5695f9f466a0ab54a59b61879f5d7a66e6ffb1) @@ -171,38 +171,6 @@ } [Test] - public void GetStochasticSoilModelsForSurfaceLine_NoSoilProfiles_ReturnEmpty() - { - // Setup - var soilModel = new PipingStochasticSoilModel("A", new[] - { - new Point2D(1.0, 0.0), - new Point2D(5.0, 0.0) - }, Enumerable.Empty()); - - var availableSoilModels = new[] - { - soilModel - }; - - var surfaceLine = new PipingSurfaceLine("surface line"); - surfaceLine.SetGeometry(new[] - { - new Point3D(3.0, 5.0, 0.0), - new Point3D(3.0, 0.0, 1.0), - new Point3D(3.0, -5.0, 0.0) - }); - - // Call - IEnumerable result = PipingCalculationConfigurationHelper.GetStochasticSoilModelsForSurfaceLine( - surfaceLine, - availableSoilModels); - - // Assert - CollectionAssert.IsEmpty(result); - } - - [Test] public void GetStochasticSoilModelsForSurfaceLine_SoilModelGeometryNotIntersecting_ReturnEmpty() { // Setup @@ -481,54 +449,6 @@ } [Test] - public void GenerateCalculationItemsStructure_NoSoilProfiles_LogWarning() - { - // Setup - var soilModel = new PipingStochasticSoilModel("A", new[] - { - new Point2D(1.0, 0.0), - new Point2D(5.0, 0.0) - }, Enumerable.Empty()); - - var availableSoilModels = new[] - { - soilModel - }; - - const string testName = "testName"; - var surfaceLine = new PipingSurfaceLine(testName); - surfaceLine.SetGeometry(new[] - { - new Point3D(3.0, 5.0, 0.0), - new Point3D(3.0, 0.0, 1.0), - new Point3D(3.0, -5.0, 0.0) - }); - - PipingSurfaceLine[] surfaceLines = - { - surfaceLine - }; - - IEnumerable result = null; - // Call - Action call = () => - { - result = PipingCalculationConfigurationHelper.GenerateCalculationItemsStructure( - surfaceLines, - availableSoilModels, - new GeneralPipingInput()).ToArray(); - }; - - // Assert - Tuple expectedMessage = Tuple.Create( - string.Format("Geen ondergrondschematisaties gevonden voor profielschematisatie '{0}'. De profielschematisatie is overgeslagen.", - testName), - LogLevelConstant.Warn); - TestHelper.AssertLogMessageWithLevelIsGenerated(call, expectedMessage); - CollectionAssert.IsEmpty(result); - } - - [Test] public void GenerateCalculationItemsStructure_SoilModelGeometryNotIntersecting_LogWarning() { // Setup