Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs (.../ClosingStructuresInputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs (.../ClosingStructuresInputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -29,7 +29,6 @@
using Ringtoets.Common.Data.Probabilistics;
using Ringtoets.Common.Data.Structures;
using Ringtoets.Common.Data.TestUtil;
-using ClosingStructuresCloneAssert = Ringtoets.ClosingStructures.Data.TestUtil.CloneAssert;
namespace Ringtoets.ClosingStructures.Data.Test
{
Fisheye: Tag 9cad3fcafde3778a0b39a89b1758af7d8a120735 refers to a dead (removed) revision in file `Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/CloneAssert.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructuresCloneAssert.cs
===================================================================
diff -u
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructuresCloneAssert.cs (revision 0)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructuresCloneAssert.cs (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -0,0 +1,59 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Data.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
+
+namespace Ringtoets.ClosingStructures.Data.TestUtil
+{
+ ///
+ /// Class that defines methods for asserting whether two objects are clones.
+ ///
+ public static class ClosingStructuresCloneAssert
+ {
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(ClosingStructuresInput original, ClosingStructuresInput clone)
+ {
+ CommonCloneAssert.AreClones(original, clone);
+
+ CoreCloneAssert.AreObjectClones(original.ThresholdHeightOpenWeir, clone.ThresholdHeightOpenWeir, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.DrainCoefficient, clone.DrainCoefficient, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.AreaFlowApertures, clone.AreaFlowApertures, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.LevelCrestStructureNotClosing, clone.LevelCrestStructureNotClosing, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.InsideWaterLevel, clone.InsideWaterLevel, DistributionAssert.AreEqual);
+ Assert.AreEqual(original.FactorStormDurationOpenStructure, clone.FactorStormDurationOpenStructure);
+ Assert.AreEqual(original.FailureProbabilityOpenStructure, clone.FailureProbabilityOpenStructure);
+ Assert.AreEqual(original.FailureProbabilityReparation, clone.FailureProbabilityReparation);
+ Assert.AreEqual(original.ProbabilityOrFrequencyOpenStructureBeforeFlooding, clone.ProbabilityOrFrequencyOpenStructureBeforeFlooding);
+ Assert.AreEqual(original.DeviationWaveDirection, clone.DeviationWaveDirection);
+ Assert.AreEqual(original.InflowModelType, clone.InflowModelType);
+ Assert.AreEqual(original.IdenticalApertures, clone.IdenticalApertures);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/Ringtoets.ClosingStructures.Data.TestUtil.csproj
===================================================================
diff -u -rca6ec12fb540f0a56a12e363dc1eb3cff066d6cd -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/Ringtoets.ClosingStructures.Data.TestUtil.csproj (.../Ringtoets.ClosingStructures.Data.TestUtil.csproj) (revision ca6ec12fb540f0a56a12e363dc1eb3cff066d6cd)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/Ringtoets.ClosingStructures.Data.TestUtil.csproj (.../Ringtoets.ClosingStructures.Data.TestUtil.csproj) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -49,7 +49,7 @@
Properties\GlobalAssembly.cs
-
+
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeHeightOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeHeightOutputTest.cs (.../DikeHeightOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/DikeHeightOutputTest.cs (.../DikeHeightOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -27,7 +27,7 @@
using Ringtoets.Common.Data.IllustrationPoints;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Data.TestUtil.IllustrationPoints;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
+using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsCalculationTest.cs (.../GrassCoverErosionInwardsCalculationTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -25,7 +25,6 @@
using NUnit.Framework;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsInputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsInputTest.cs (.../GrassCoverErosionInwardsInputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsInputTest.cs (.../GrassCoverErosionInwardsInputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -33,7 +33,6 @@
using Ringtoets.Common.Data.Probabilistics;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsOutputTest.cs (.../GrassCoverErosionInwardsOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/GrassCoverErosionInwardsOutputTest.cs (.../GrassCoverErosionInwardsOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -25,7 +25,6 @@
using NUnit.Framework;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/HydraulicLoadsOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/HydraulicLoadsOutputTest.cs (.../HydraulicLoadsOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/HydraulicLoadsOutputTest.cs (.../HydraulicLoadsOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -27,7 +27,7 @@
using Ringtoets.Common.Data.IllustrationPoints;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Data.TestUtil.IllustrationPoints;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
+using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingOutputTest.cs (.../OvertoppingOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingOutputTest.cs (.../OvertoppingOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -27,7 +27,7 @@
using Ringtoets.Common.Data.Probability;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Data.TestUtil.IllustrationPoints;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
+using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingRateOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingRateOutputTest.cs (.../OvertoppingRateOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.Test/OvertoppingRateOutputTest.cs (.../OvertoppingRateOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -27,7 +27,7 @@
using Ringtoets.Common.Data.IllustrationPoints;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Common.Data.TestUtil.IllustrationPoints;
-using GrassCoverErosionInwardsCloneAssert = Ringtoets.GrassCoverErosionInwards.Data.TestUtil.CloneAssert;
+using Ringtoets.GrassCoverErosionInwards.Data.TestUtil;
namespace Ringtoets.GrassCoverErosionInwards.Data.Test
{
Fisheye: Tag 9cad3fcafde3778a0b39a89b1758af7d8a120735 refers to a dead (removed) revision in file `Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/CloneAssert.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/GrassCoverErosionInwardsCloneAssert.cs
===================================================================
diff -u
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/GrassCoverErosionInwardsCloneAssert.cs (revision 0)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/GrassCoverErosionInwardsCloneAssert.cs (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -0,0 +1,151 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Data.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
+
+namespace Ringtoets.GrassCoverErosionInwards.Data.TestUtil
+{
+ ///
+ /// Class that defines methods for asserting whether two objects are clones.
+ ///
+ public static class GrassCoverErosionInwardsCloneAssert
+ {
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(OvertoppingOutput original, OvertoppingOutput clone)
+ {
+ Assert.AreEqual(original.WaveHeight, clone.WaveHeight);
+ Assert.AreEqual(original.IsOvertoppingDominant, clone.IsOvertoppingDominant);
+ CoreCloneAssert.AreObjectClones(original.ProbabilityAssessmentOutput, clone.ProbabilityAssessmentOutput, CommonCloneAssert.AreClones);
+ CoreCloneAssert.AreObjectClones(original.GeneralResult, clone.GeneralResult, CommonCloneAssert.AreClones);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(HydraulicLoadsOutput original, HydraulicLoadsOutput clone)
+ {
+ Assert.AreEqual(original.TargetProbability, clone.TargetProbability);
+ Assert.AreEqual(original.TargetReliability, clone.TargetReliability);
+ Assert.AreEqual(original.CalculatedProbability, clone.CalculatedProbability);
+ Assert.AreEqual(original.CalculatedReliability, clone.CalculatedReliability);
+ Assert.AreEqual(original.CalculationConvergence, clone.CalculationConvergence);
+ CoreCloneAssert.AreObjectClones(original.GeneralResult, clone.GeneralResult, CommonCloneAssert.AreClones);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(DikeHeightOutput original, DikeHeightOutput clone)
+ {
+ AreClones((HydraulicLoadsOutput) original, clone);
+ Assert.AreEqual(original.DikeHeight, clone.DikeHeight);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(OvertoppingRateOutput original, OvertoppingRateOutput clone)
+ {
+ AreClones((HydraulicLoadsOutput) original, clone);
+ Assert.AreEqual(original.OvertoppingRate, clone.OvertoppingRate);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(GrassCoverErosionInwardsInput original, GrassCoverErosionInwardsInput clone)
+ {
+ Assert.AreSame(original.DikeProfile, clone.DikeProfile);
+ Assert.AreEqual(original.Orientation, clone.Orientation);
+ Assert.AreEqual(original.DikeHeight, clone.DikeHeight);
+ CoreCloneAssert.AreObjectClones(original.CriticalFlowRate, clone.CriticalFlowRate, DistributionAssert.AreEqual);
+ Assert.AreSame(original.HydraulicBoundaryLocation, clone.HydraulicBoundaryLocation);
+ Assert.AreEqual(original.DikeHeightCalculationType, clone.DikeHeightCalculationType);
+ Assert.AreEqual(original.OvertoppingRateCalculationType, clone.OvertoppingRateCalculationType);
+ Assert.AreEqual(original.ShouldDikeHeightIllustrationPointsBeCalculated, clone.ShouldDikeHeightIllustrationPointsBeCalculated);
+ Assert.AreEqual(original.ShouldOvertoppingRateIllustrationPointsBeCalculated, clone.ShouldOvertoppingRateIllustrationPointsBeCalculated);
+ Assert.AreEqual(original.ShouldOvertoppingOutputIllustrationPointsBeCalculated, clone.ShouldOvertoppingOutputIllustrationPointsBeCalculated);
+ Assert.AreEqual(original.UseBreakWater, clone.UseBreakWater);
+ CoreCloneAssert.AreObjectClones(original.BreakWater, clone.BreakWater, CommonCloneAssert.AreClones);
+ Assert.AreEqual(original.UseForeshore, clone.UseForeshore);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(GrassCoverErosionInwardsOutput original, GrassCoverErosionInwardsOutput clone)
+ {
+ CoreCloneAssert.AreObjectClones(original.OvertoppingOutput, clone.OvertoppingOutput, AreClones);
+ CoreCloneAssert.AreObjectClones(original.DikeHeightOutput, clone.DikeHeightOutput, AreClones);
+ CoreCloneAssert.AreObjectClones(original.OvertoppingRateOutput, clone.OvertoppingRateOutput, AreClones);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(GrassCoverErosionInwardsCalculation original, GrassCoverErosionInwardsCalculation clone)
+ {
+ Assert.AreEqual(original.Name, clone.Name);
+ CoreCloneAssert.AreObjectClones(original.Comments, clone.Comments, CommonCloneAssert.AreClones);
+ CoreCloneAssert.AreObjectClones(original.InputParameters, clone.InputParameters, AreClones);
+ CoreCloneAssert.AreObjectClones(original.Output, clone.Output, AreClones);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/Ringtoets.GrassCoverErosionInwards.Data.TestUtil.csproj
===================================================================
diff -u -r7b7bd75dc1c1327386c9be96b5d480565bb8ecd6 -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/Ringtoets.GrassCoverErosionInwards.Data.TestUtil.csproj (.../Ringtoets.GrassCoverErosionInwards.Data.TestUtil.csproj) (revision 7b7bd75dc1c1327386c9be96b5d480565bb8ecd6)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Data.TestUtil/Ringtoets.GrassCoverErosionInwards.Data.TestUtil.csproj (.../Ringtoets.GrassCoverErosionInwards.Data.TestUtil.csproj) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -50,7 +50,7 @@
Properties\GlobalAssembly.cs
-
+
Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresInputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresInputTest.cs (.../HeightStructuresInputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.Test/HeightStructuresInputTest.cs (.../HeightStructuresInputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -29,7 +29,6 @@
using Ringtoets.Common.Data.Structures;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.HeightStructures.Data.TestUtil;
-using HeightStructuresCloneAssert = Ringtoets.HeightStructures.Data.TestUtil.CloneAssert;
namespace Ringtoets.HeightStructures.Data.Test
{
Fisheye: Tag 9cad3fcafde3778a0b39a89b1758af7d8a120735 refers to a dead (removed) revision in file `Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/CloneAssert.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/HeightStructuresCloneAssert.cs
===================================================================
diff -u
--- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/HeightStructuresCloneAssert.cs (revision 0)
+++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/HeightStructuresCloneAssert.cs (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -0,0 +1,49 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Data.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
+
+namespace Ringtoets.HeightStructures.Data.TestUtil
+{
+ ///
+ /// Class that defines methods for asserting whether two objects are clones.
+ ///
+ public static class HeightStructuresCloneAssert
+ {
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(HeightStructuresInput original, HeightStructuresInput clone)
+ {
+ CommonCloneAssert.AreClones(original, clone);
+
+ CoreCloneAssert.AreObjectClones(original.LevelCrestStructure, clone.LevelCrestStructure, DistributionAssert.AreEqual);
+ Assert.AreEqual(original.DeviationWaveDirection, clone.DeviationWaveDirection);
+ }
+ }
+}
Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/Ringtoets.HeightStructures.Data.TestUtil.csproj
===================================================================
diff -u -r7b7bd75dc1c1327386c9be96b5d480565bb8ecd6 -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/Ringtoets.HeightStructures.Data.TestUtil.csproj (.../Ringtoets.HeightStructures.Data.TestUtil.csproj) (revision 7b7bd75dc1c1327386c9be96b5d480565bb8ecd6)
+++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Data.TestUtil/Ringtoets.HeightStructures.Data.TestUtil.csproj (.../Ringtoets.HeightStructures.Data.TestUtil.csproj) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -49,7 +49,7 @@
Properties\GlobalAssembly.cs
-
+
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationScenarioTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationScenarioTest.cs (.../PipingCalculationScenarioTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationScenarioTest.cs (.../PipingCalculationScenarioTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -26,7 +26,6 @@
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.KernelWrapper.TestUtil;
-using PipingCloneAssert = Ringtoets.Piping.Data.TestUtil.CloneAssert;
namespace Ringtoets.Piping.Data.Test
{
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs (.../PipingCalculationTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingCalculationTest.cs (.../PipingCalculationTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -27,7 +27,6 @@
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.KernelWrapper.TestUtil;
-using PipingCloneAssert = Ringtoets.Piping.Data.TestUtil.CloneAssert;
namespace Ringtoets.Piping.Data.Test
{
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -36,7 +36,6 @@
using Ringtoets.Piping.KernelWrapper.SubCalculator;
using Ringtoets.Piping.KernelWrapper.TestUtil.SubCalculator;
using Ringtoets.Piping.Primitives;
-using PipingCloneAssert = Ringtoets.Piping.Data.TestUtil.CloneAssert;
namespace Ringtoets.Piping.Data.Test
{
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingOutputTest.cs (.../PipingOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingOutputTest.cs (.../PipingOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -25,7 +25,7 @@
using NUnit.Framework;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Common.Data.TestUtil;
-using PipingCloneAssert = Ringtoets.Piping.Data.TestUtil.CloneAssert;
+using Ringtoets.Piping.Data.TestUtil;
namespace Ringtoets.Piping.Data.Test
{
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs (.../PipingSemiProbabilisticOutputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs (.../PipingSemiProbabilisticOutputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -24,7 +24,7 @@
using Core.Common.TestUtil;
using NUnit.Framework;
using Ringtoets.Common.Data.TestUtil;
-using PipingCloneAssert = Ringtoets.Piping.Data.TestUtil.CloneAssert;
+using Ringtoets.Piping.Data.TestUtil;
namespace Ringtoets.Piping.Data.Test
{
Fisheye: Tag 9cad3fcafde3778a0b39a89b1758af7d8a120735 refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/CloneAssert.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/PipingCloneAssert.cs
===================================================================
diff -u
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/PipingCloneAssert.cs (revision 0)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/PipingCloneAssert.cs (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -0,0 +1,137 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Data.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
+
+namespace Ringtoets.Piping.Data.TestUtil
+{
+ ///
+ /// Class that defines methods for asserting whether two objects are clones.
+ ///
+ public static class PipingCloneAssert
+ {
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(PipingOutput original, PipingOutput clone)
+ {
+ Assert.AreEqual(original.UpliftZValue, clone.UpliftZValue);
+ Assert.AreEqual(original.UpliftFactorOfSafety, clone.UpliftFactorOfSafety);
+ Assert.AreEqual(original.HeaveZValue, clone.HeaveZValue);
+ Assert.AreEqual(original.HeaveFactorOfSafety, clone.HeaveFactorOfSafety);
+ Assert.AreEqual(original.SellmeijerZValue, clone.SellmeijerZValue);
+ Assert.AreEqual(original.UpliftEffectiveStress, clone.UpliftEffectiveStress);
+ Assert.AreEqual(original.HeaveGradient, clone.HeaveGradient);
+ Assert.AreEqual(original.SellmeijerCreepCoefficient, clone.SellmeijerCreepCoefficient);
+ Assert.AreEqual(original.SellmeijerCriticalFall, clone.SellmeijerCriticalFall);
+ Assert.AreEqual(original.SellmeijerReducedFall, clone.SellmeijerReducedFall);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(PipingSemiProbabilisticOutput original, PipingSemiProbabilisticOutput clone)
+ {
+ Assert.AreEqual(original.UpliftProbability, clone.UpliftProbability);
+ Assert.AreEqual(original.UpliftReliability, clone.UpliftReliability);
+ Assert.AreEqual(original.UpliftFactorOfSafety, clone.UpliftFactorOfSafety);
+ Assert.AreEqual(original.HeaveProbability, clone.HeaveProbability);
+ Assert.AreEqual(original.HeaveReliability, clone.HeaveReliability);
+ Assert.AreEqual(original.HeaveFactorOfSafety, clone.HeaveFactorOfSafety);
+ Assert.AreEqual(original.SellmeijerFactorOfSafety, clone.SellmeijerFactorOfSafety);
+ Assert.AreEqual(original.SellmeijerProbability, clone.SellmeijerProbability);
+ Assert.AreEqual(original.SellmeijerReliability, clone.SellmeijerReliability);
+ Assert.AreEqual(original.RequiredProbability, clone.RequiredProbability);
+ Assert.AreEqual(original.RequiredReliability, clone.RequiredReliability);
+ Assert.AreEqual(original.PipingProbability, clone.PipingProbability);
+ Assert.AreEqual(original.PipingReliability, clone.PipingReliability);
+ Assert.AreEqual(original.PipingFactorOfSafety, clone.PipingFactorOfSafety);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(PipingInput original, PipingInput clone)
+ {
+ Assert.AreEqual(original.EntryPointL, clone.EntryPointL);
+ Assert.AreEqual(original.ExitPointL, clone.ExitPointL);
+ CoreCloneAssert.AreObjectClones(original.PhreaticLevelExit, clone.PhreaticLevelExit, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.DampingFactorExit, clone.DampingFactorExit, DistributionAssert.AreEqual);
+ Assert.AreEqual(original.AssessmentLevel, clone.AssessmentLevel);
+ Assert.AreEqual(original.UseAssessmentLevelManualInput, clone.UseAssessmentLevelManualInput);
+ Assert.AreSame(original.SurfaceLine, clone.SurfaceLine);
+ Assert.AreSame(original.StochasticSoilModel, clone.StochasticSoilModel);
+ Assert.AreSame(original.StochasticSoilProfile, clone.StochasticSoilProfile);
+ Assert.AreSame(original.HydraulicBoundaryLocation, clone.HydraulicBoundaryLocation);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(PipingCalculation original, PipingCalculation clone)
+ {
+ Assert.AreEqual(original.Name, clone.Name);
+ CoreCloneAssert.AreObjectClones(original.Comments, clone.Comments, CommonCloneAssert.AreClones);
+ CoreCloneAssert.AreObjectClones(original.InputParameters, clone.InputParameters, AreClones);
+ CoreCloneAssert.AreObjectClones(original.Output, clone.Output, AreClones);
+ CoreCloneAssert.AreObjectClones(original.SemiProbabilisticOutput, clone.SemiProbabilisticOutput, AreClones);
+ }
+
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(PipingCalculationScenario original, PipingCalculationScenario clone)
+ {
+ CoreCloneAssert.AreObjectClones((PipingCalculation) original, clone, AreClones);
+ Assert.AreEqual(original.Contribution, clone.Contribution);
+ Assert.AreEqual(original.Probability, clone.Probability);
+ Assert.AreEqual(original.IsRelevant, clone.IsRelevant);
+ Assert.AreEqual(original.Status, clone.Status);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj
===================================================================
diff -u -r3cf4d4c65cf2ce285bdeb71162cf3b0a79cb3742 -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj (.../Ringtoets.Piping.Data.TestUtil.csproj) (revision 3cf4d4c65cf2ce285bdeb71162cf3b0a79cb3742)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj (.../Ringtoets.Piping.Data.TestUtil.csproj) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -50,7 +50,7 @@
Properties\GlobalAssembly.cs
-
+
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs
===================================================================
diff -u -rb286d241c3bfefe14166cc01382e806c98b54b5a -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision b286d241c3bfefe14166cc01382e806c98b54b5a)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -29,7 +29,6 @@
using Ringtoets.Common.Data.Structures;
using Ringtoets.Common.Data.TestUtil;
using Ringtoets.StabilityPointStructures.Data.TestUtil;
-using StabilityPointStructuresCloneAssert = Ringtoets.StabilityPointStructures.Data.TestUtil.CloneAssert;
namespace Ringtoets.StabilityPointStructures.Data.Test
{
Fisheye: Tag 9cad3fcafde3778a0b39a89b1758af7d8a120735 refers to a dead (removed) revision in file `Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/CloneAssert.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/Ringtoets.StabilityPointStructures.Data.TestUtil.csproj
===================================================================
diff -u -r543d6e519f8fe4dabaf86586f0520983f15f85a7 -r9cad3fcafde3778a0b39a89b1758af7d8a120735
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/Ringtoets.StabilityPointStructures.Data.TestUtil.csproj (.../Ringtoets.StabilityPointStructures.Data.TestUtil.csproj) (revision 543d6e519f8fe4dabaf86586f0520983f15f85a7)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/Ringtoets.StabilityPointStructures.Data.TestUtil.csproj (.../Ringtoets.StabilityPointStructures.Data.TestUtil.csproj) (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -49,7 +49,7 @@
Properties\GlobalAssembly.cs
-
+
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/StabilityPointStructuresCloneAssert.cs
===================================================================
diff -u
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/StabilityPointStructuresCloneAssert.cs (revision 0)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.TestUtil/StabilityPointStructuresCloneAssert.cs (revision 9cad3fcafde3778a0b39a89b1758af7d8a120735)
@@ -0,0 +1,71 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using Core.Common.Data.TestUtil;
+using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
+
+namespace Ringtoets.StabilityPointStructures.Data.TestUtil
+{
+ ///
+ /// Class that defines methods for asserting whether two objects are clones.
+ ///
+ public static class StabilityPointStructuresCloneAssert
+ {
+ ///
+ /// Method that asserts whether and
+ /// are clones.
+ ///
+ /// The original object.
+ /// The cloned object.
+ /// Thrown when and
+ /// are not clones.
+ public static void AreClones(StabilityPointStructuresInput original, StabilityPointStructuresInput clone)
+ {
+ CommonCloneAssert.AreClones(original, clone);
+
+ CoreCloneAssert.AreObjectClones(original.InsideWaterLevelFailureConstruction, clone.InsideWaterLevelFailureConstruction, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.InsideWaterLevel, clone.InsideWaterLevel, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.DrainCoefficient, clone.DrainCoefficient, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.LevelCrestStructure, clone.LevelCrestStructure, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.ThresholdHeightOpenWeir, clone.ThresholdHeightOpenWeir, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.AreaFlowApertures, clone.AreaFlowApertures, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.ConstructiveStrengthLinearLoadModel, clone.ConstructiveStrengthLinearLoadModel, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.ConstructiveStrengthQuadraticLoadModel, clone.ConstructiveStrengthQuadraticLoadModel, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.StabilityLinearLoadModel, clone.StabilityLinearLoadModel, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.StabilityQuadraticLoadModel, clone.StabilityQuadraticLoadModel, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.FailureCollisionEnergy, clone.FailureCollisionEnergy, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.ShipMass, clone.ShipMass, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.ShipVelocity, clone.ShipVelocity, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.BankWidth, clone.BankWidth, DistributionAssert.AreEqual);
+ CoreCloneAssert.AreObjectClones(original.FlowVelocityStructureClosable, clone.FlowVelocityStructureClosable, DistributionAssert.AreEqual);
+ Assert.AreEqual(original.VolumicWeightWater, clone.VolumicWeightWater);
+ Assert.AreEqual(original.FactorStormDurationOpenStructure, clone.FactorStormDurationOpenStructure);
+ Assert.AreEqual(original.EvaluationLevel, clone.EvaluationLevel);
+ Assert.AreEqual(original.VerticalDistance, clone.VerticalDistance);
+ Assert.AreEqual(original.FailureProbabilityRepairClosure, clone.FailureProbabilityRepairClosure);
+ Assert.AreEqual(original.ProbabilityCollisionSecondaryStructure, clone.ProbabilityCollisionSecondaryStructure);
+ Assert.AreEqual(original.InflowModelType, clone.InflowModelType);
+ Assert.AreEqual(original.LoadSchematizationType, clone.LoadSchematizationType);
+ Assert.AreEqual(original.LevellingCount, clone.LevellingCount);
+ }
+ }
+}
\ No newline at end of file