Index: DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSurfaceLines.cs
===================================================================
diff -u -r877 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSurfaceLines.cs (.../FactoryForSurfaceLines.cs) (revision 877)
+++ DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSurfaceLines.cs (.../FactoryForSurfaceLines.cs) (revision 926)
@@ -22,14 +22,14 @@
using Deltares.DamEngine.Data.Geometry;
using Deltares.DamEngine.Data.Geotechnics;
-namespace Deltares.DamEngine.TestHelpers
+namespace Deltares.DamEngine.TestHelpers.Factories
{
public class FactoryForSurfaceLines
{
///
- /// Create simple soil profile, that is almost the same as Tutorial 1
+ /// Creates a surface line, that is almost the same as Tutorial 1
///
- /// soil profile
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1(bool includingTraffic = false)
{
//Surface line tutorial 1
@@ -64,12 +64,16 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 2.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial2()
{
- //Surface line tutorial 1
+ //Surface line tutorial 2
var surfaceLine = new SurfaceLine2
{
- Name = "Tutorial1"
+ Name = "Tutorial2"
};
// Next point adjusted so create PL line can be tested better
@@ -88,6 +92,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 1 with outside shoulder.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1WithOutsideShoulder()
{
//Surface line tutorial 1
@@ -120,6 +128,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 1 missing characteristic point dike top at river.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1MissingCharacteristicPointDikeTopAtRiver()
{
//Surface line tutorial 1
@@ -139,6 +151,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 1 missing characteristic point dike top at polder.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1MissingCharacteristicPointDikeTopAtPolder()
{
//Surface line tutorial 1
@@ -158,6 +174,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 1 missing characteristic point dike toe at polder.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1MissingCharacteristicPointDikeToeAtPolder()
{
//Surface line tutorial 1
@@ -177,6 +197,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line like in tutorial 1 with phreatic lower polder water level.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1PhreaticLowerPolderWaterLevel()
{
//Surface line tutorial 1
@@ -204,6 +228,10 @@
return surfaceLine;
}
+ ///
+ /// Creates s surface line like in tutorial 1 with phreatic above surface.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1PhreaticAboveSurface()
{
//Surface line tutorial 1
@@ -233,6 +261,10 @@
return surfaceLine;
}
+ ///
+ /// Creates s surface line like in tutorial1 with shoulder.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineTutorial1WithShoulder()
{
//Surface line tutorial 1
@@ -262,6 +294,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line for piping bligh.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineForPipingBligh()
{
//Surface line tutorial 1
@@ -288,6 +324,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a realistic surface line for height adapter.
+ ///
+ /// surface line
public static SurfaceLine2 CreateRealisticSurfaceLineForHeightAdapter()
{
var surfaceLine = new SurfaceLine2
@@ -374,6 +414,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line for BM4 01.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineBm4_01()
{
var surfaceLine = new SurfaceLine2
@@ -402,6 +446,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line for BM4 02.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineBm4_02()
{
var surfaceLine = new SurfaceLine2
@@ -432,6 +480,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a simple surface line for exit point test.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSimpleSurfaceLineForExitPointTest()
{
var surfaceLine = new SurfaceLine2
@@ -451,6 +503,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a horizontal surface line for benchmark 1.
+ ///
+ /// surface line
public static SurfaceLine2 CreateHorizontalSurfaceLineForBenchmark1()
{
var surfaceLine = new SurfaceLine2
@@ -465,6 +521,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a descending surface line for benchmark 2.
+ ///
+ /// surface line
public static SurfaceLine2 CreateDescendingSurfaceLineForBenchmark2()
{
var surfaceLine = new SurfaceLine2
@@ -479,6 +539,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a horizontal surface line with symmetrical ditch for benchmark 5.
+ ///
+ /// surface line
public static SurfaceLine2 CreateHorizontalSurfaceLineWithSymmetricalDitchForBenchmark5()
{
var surfaceLine = new SurfaceLine2
@@ -497,6 +561,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a non horizontal line with asymmetrical ditch for benchmark 6.
+ ///
+ /// surface line
public static SurfaceLine2 CreateNonHorizontalLineWithAsymmetricalDitchForBenchmark6()
{
var surfaceLine = new SurfaceLine2
@@ -515,6 +583,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line with asymmetrical ditch high polder side.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineWithAsymmetricalDitchHighPolderSide()
{
var surfaceLine = new SurfaceLine2
@@ -533,6 +605,10 @@
return surfaceLine;
}
+ ///
+ /// Creates a surface line with asymmetrical ditch high dike side.
+ ///
+ /// surface line
public static SurfaceLine2 CreateSurfaceLineWithAsymmetricalDitchHighDikeSide()
{
var surfaceLine = new SurfaceLine2
@@ -552,9 +628,9 @@
}
///
- /// Create a simple surfaceline without shoulder
+ /// Create a simple surface line without shoulder
///
- /// the created surfaceline
+ /// surface line
public static SurfaceLine2 CreateSurfacelineSimpleDike()
{
var surfaceLine = new SurfaceLine2
@@ -573,9 +649,9 @@
}
///
- /// Create a simple surfaceline without shoulder
+ /// Create a simple surface line for dike with sloping shoulder
///
- /// the created surfaceline
+ /// surface line
public static SurfaceLine2 CreateSurfacelineDikeWithSlopingShoulder()
{
var surfaceLine = new SurfaceLine2
@@ -596,9 +672,9 @@
}
///
- /// Create a simple surfaceline without shoulder and Ditch at PolderSide
+ /// Create a simple surface line without shoulder and with ditch at polder side
///
- /// the created surfaceline
+ /// surface line
public static SurfaceLine2 CreateSurfacelineSimpleDikeWithDitchAtPolderSide()
{
var surfaceLine = new SurfaceLine2
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijerVnk/DamPipingSellmeijerVnkKernelWrapperTests.cs
===================================================================
diff -u -r909 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijerVnk/DamPipingSellmeijerVnkKernelWrapperTests.cs (.../DamPipingSellmeijerVnkKernelWrapperTests.cs) (revision 909)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijerVnk/DamPipingSellmeijerVnkKernelWrapperTests.cs (.../DamPipingSellmeijerVnkKernelWrapperTests.cs) (revision 926)
@@ -37,6 +37,7 @@
using NUnit.Framework;
using Deltares.DamEngine.TestHelpers;
using Deltares.DamEngine.Calculators.KernelWrappers.DamPipingSellmeijerVnk;
+using Deltares.DamEngine.TestHelpers.Factories;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamPipingSellmeijerVnk
{
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingBligh/DamPipingBlighKernelWrapperTests.cs
===================================================================
diff -u -r909 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingBligh/DamPipingBlighKernelWrapperTests.cs (.../DamPipingBlighKernelWrapperTests.cs) (revision 909)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingBligh/DamPipingBlighKernelWrapperTests.cs (.../DamPipingBlighKernelWrapperTests.cs) (revision 926)
@@ -30,6 +30,7 @@
using Deltares.DamEngine.Data.Standard.Calculation;
using Deltares.DamEngine.Data.Standard.Logging;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamPipingBligh
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/Geometry2DTo1DConverterTest.cs
===================================================================
diff -u -r877 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/Geometry2DTo1DConverterTest.cs (.../Geometry2DTo1DConverterTest.cs) (revision 877)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/Geometry2DTo1DConverterTest.cs (.../Geometry2DTo1DConverterTest.cs) (revision 926)
@@ -24,6 +24,7 @@
using Deltares.DamEngine.Calculators.General;
using Deltares.DamEngine.Data.Geotechnics;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamMacroStabilityCommon
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityOutwards/DamMacroStabilityOutwardsKernelWrapperTests.cs
===================================================================
diff -u -r925 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityOutwards/DamMacroStabilityOutwardsKernelWrapperTests.cs (.../DamMacroStabilityOutwardsKernelWrapperTests.cs) (revision 925)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityOutwards/DamMacroStabilityOutwardsKernelWrapperTests.cs (.../DamMacroStabilityOutwardsKernelWrapperTests.cs) (revision 926)
@@ -36,6 +36,7 @@
using Deltares.DamEngine.Data.Standard.Calculation;
using Deltares.DamEngine.Data.Standard.Logging;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamMacroStabilityOutwards
Index: DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs
===================================================================
diff -u -r877 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs (.../FactoryForSoilProfiles.cs) (revision 877)
+++ DamEngine/trunk/src/Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs (.../FactoryForSoilProfiles.cs) (revision 926)
@@ -22,7 +22,7 @@
using Deltares.DamEngine.Data.General;
using Deltares.DamEngine.Data.Geotechnics;
-namespace Deltares.DamEngine.TestHelpers
+namespace Deltares.DamEngine.TestHelpers.Factories
{
public class FactoryForSoilProfiles
{
@@ -47,7 +47,7 @@
}
///
- /// Create twolayer soilprofile
+ /// Create two layer soilprofile
///
/// soil profile
public static SoilProfile1D CreateTwoLayerProfile()
@@ -128,7 +128,7 @@
///
/// Gammadry and Gammywet are both set to 1 for testing purposes
///
- ///
+ /// soil profile
public static SoilProfile1D CreateClaySandClaySandProfileForPipingBligh()
{
SoilProfile1D soilProfile = CreateClaySandClaySandProfile();
@@ -141,6 +141,10 @@
return soilProfile;
}
+ ///
+ /// Creates the clay sand profile for piping bligh.
+ ///
+ /// soil profile
public static SoilProfile1D CreateClaySandProfileForPipingBligh()
{
SoilProfile1D soilProfile = CreateClaySandProfile();
@@ -644,6 +648,10 @@
//}
+ ///
+ /// Creates a test profile.
+ ///
+ /// soil profile
public static SoilProfile1D CreateTestProfile()
{
var sand = new Soil();
@@ -691,6 +699,10 @@
return soilProfile;
}
+ ///
+ /// Creates a simple test profile.
+ ///
+ /// soil profile
public static SoilProfile1D CreateSimpleTestProfile()
{
var sand = new Soil();
@@ -725,6 +737,10 @@
return soilProfile;
}
+ ///
+ /// Creates a test profile with two aquifers.
+ ///
+ /// soil profile
public static SoilProfile1D CreateTestProfileTwoAquifers()
{
var sandTop = new Soil();
@@ -792,6 +808,10 @@
return soilProfile;
}
+ ///
+ /// Creates a test profile with three cover sublayers and one aquifer.
+ ///
+ /// soil profile
public static SoilProfile1D CreateTestProfileThreeCoverSublayersOneAquifer()
{
var coverSublayer1 = new Soil();
@@ -852,6 +872,10 @@
return soilProfile;
}
+ ///
+ /// Creates a test profile with two cover sublayers and two aquifers.
+ ///
+ /// soil profile
public static SoilProfile1D CreateTestProfileTwoCoverSublayersTwoAquifers()
{
var coverSublayer1 = new Soil();
@@ -912,6 +936,10 @@
return soilProfile;
}
+ ///
+ /// Creates a test profile with one cover layer and one in-between aquifer.
+ ///
+ /// soil profile
public static SoilProfile1D CreateTestProfileOneCoverLayerOneInBetweenAquifer()
{
var coverLayer = new Soil();
@@ -971,6 +999,7 @@
return soilProfile;
}
+
private static string GetNewUniqueLayerId(SoilProfile1D soilProfile1D)
{
int num = 0;
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityInwards/DamMacroStabilityInwardsKernelWrapperTests.cs
===================================================================
diff -u -r925 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityInwards/DamMacroStabilityInwardsKernelWrapperTests.cs (.../DamMacroStabilityInwardsKernelWrapperTests.cs) (revision 925)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityInwards/DamMacroStabilityInwardsKernelWrapperTests.cs (.../DamMacroStabilityInwardsKernelWrapperTests.cs) (revision 926)
@@ -35,6 +35,7 @@
using Deltares.DamEngine.Data.General.Results;
using Deltares.DamEngine.Data.Standard.Logging;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamMacroStabilityInwards
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/PLLinesCreatorTest.cs
===================================================================
diff -u -r877 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/PLLinesCreatorTest.cs (.../PLLinesCreatorTest.cs) (revision 877)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/PLLinesCreatorTest.cs (.../PLLinesCreatorTest.cs) (revision 926)
@@ -27,6 +27,7 @@
using Deltares.DamEngine.Data.Geometry;
using Deltares.DamEngine.Data.Geotechnics;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/Common/PlLinesHelperTests.cs
===================================================================
diff -u -r877 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/Common/PlLinesHelperTests.cs (.../PlLinesHelperTests.cs) (revision 877)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/Common/PlLinesHelperTests.cs (.../PlLinesHelperTests.cs) (revision 926)
@@ -30,6 +30,7 @@
using Deltares.DamEngine.Data.Geometry;
using Deltares.DamEngine.Data.Geotechnics;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.Common
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijer4Forces/DamPipingSellmeijer4ForcesKernelWrapperTests.cs
===================================================================
diff -u -r909 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijer4Forces/DamPipingSellmeijer4ForcesKernelWrapperTests.cs (.../DamPipingSellmeijer4ForcesKernelWrapperTests.cs) (revision 909)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamPipingSellmeijer4Forces/DamPipingSellmeijer4ForcesKernelWrapperTests.cs (.../DamPipingSellmeijer4ForcesKernelWrapperTests.cs) (revision 926)
@@ -32,6 +32,7 @@
using Deltares.DamEngine.Data.Standard.Calculation;
using Deltares.DamEngine.Data.Standard.Logging;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamPipingSellmeijer4Forces
Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/MStabXmlDocTests.cs
===================================================================
diff -u -r916 -r926
--- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/MStabXmlDocTests.cs (.../MStabXmlDocTests.cs) (revision 916)
+++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/KernelWrappers/DamMacroStabilityCommon/MStabXmlDocTests.cs (.../MStabXmlDocTests.cs) (revision 926)
@@ -29,6 +29,7 @@
using Deltares.DamEngine.Data.General;
using Deltares.DamEngine.Data.Standard.Logging;
using Deltares.DamEngine.TestHelpers;
+using Deltares.DamEngine.TestHelpers.Factories;
using NUnit.Framework;
namespace Deltares.DamEngine.Calculators.Tests.KernelWrappers.DamMacroStabilityCommon