Index: DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/IssuesTests.cs =================================================================== diff -u -r5600 -r5691 --- DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/IssuesTests.cs (.../IssuesTests.cs) (revision 5600) +++ DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/IssuesTests.cs (.../IssuesTests.cs) (revision 5691) @@ -37,11 +37,11 @@ private const string tutorialStability2D = @"TestFiles\InputTutorialStability2D.xml"; [Test] - [TestCase("DWP_2", 1,15, 97, 83, 1.393)] - [TestCase("DWP_8", 7,26, 129, 104, 1.051)] - [TestCase("DWP_16", 15,26, 117, 92, 0.749)] - [TestCase("DWP_20", 19,23, 113, 91, 1.523)] - public void TestGeometryAndResultForIssueWithDwpsFromTutorial(string location, int segmentIndex, int surfaceCount, int curveCount, int pointCount, double safetyFactor) + [TestCase("DWP_2", 1,15, 97, 83, 46,1.393)] + [TestCase("DWP_8", 7,26, 129, 104, 53, 1.051)] + [TestCase("DWP_16", 15,26, 117, 92, 47, 0.749)] + [TestCase("DWP_20", 19,23, 113, 91, 50, 1.523)] + public void TestGeometryAndResultForIssueWithDwpsFromTutorial(string location, int segmentIndex, int surfaceCount, int curveCount, int pointCount, int surfaceLinePointCount, double safetyFactor) { string inputString = File.ReadAllText(tutorialStability2D); string[] locations = [location]; @@ -65,12 +65,13 @@ // GeometryExporter.ExportToFile(geometry, GeometryExporter.VisualizationFolder + "Geometry.txt"); // GeometryExporter.ExportWithSurfaceLineToJsonFile(GeometryExporter.VisualizationFolder + // GeometryExporter.ExportJasonFile, geometry, surfaceLine.Geometry); - + int surfPoints = soilProfile2D.Geometry.SurfaceLine.Points.Count; Assert.Multiple(() => { Assert.That(soilProfile2D.Geometry.Surfaces, Has.Count.EqualTo(surfaceCount)); Assert.That(soilProfile2D.Geometry.Curves, Has.Count.EqualTo(curveCount)); Assert.That(soilProfile2D.Geometry.Points, Has.Count.EqualTo(pointCount)); + Assert.That(soilProfile2D.Geometry.SurfaceLine.Points.Count, Is.EqualTo(surfaceLinePointCount)); }); GeneralHelper.RunAfterInputValidation(engineInterface, true, outputName); int errorCount = GeneralHelper.DetermineNumberOfCalculationErrors(engineInterface.DamProjectData.CalculationMessages);