Index: Core/Common/test/Core.Common.Data.TestUtil.Test/Core.Common.Data.TestUtil.Test.csproj
===================================================================
diff -u
--- Core/Common/test/Core.Common.Data.TestUtil.Test/Core.Common.Data.TestUtil.Test.csproj (revision 0)
+++ Core/Common/test/Core.Common.Data.TestUtil.Test/Core.Common.Data.TestUtil.Test.csproj (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -0,0 +1,63 @@
+
+
+
+ Debug
+ x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}
+ Library
+ Properties
+ Core.Common.Data.TestUtil.Test
+ Core.Common.Data.TestUtil.Test
+ v4.0
+ 512
+
+
+ true
+ bin\Debug\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE;DEBUG
+ full
+
+
+ bin\Release\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE
+ true
+ none
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ none
+ x86
+ MinimumRecommendedRules.ruleset
+
+
+
+
+
+
+
+ Properties\GlobalAssembly.cs
+
+
+
+
+
+ Copying.Lesser.licenseheader
+
+
+
+
+
\ No newline at end of file
Index: Core/Common/test/Core.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Core/Common/test/Core.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs (revision 0)
+++ Core/Common/test/Core.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -0,0 +1,27 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Core.Common.Data.TestUtil.Test")]
+[assembly: AssemblyProduct("Core.Common.Data.TestUtil.Test")]
+[assembly: Guid("ae665b65-7370-4dae-9cad-bbb8d1706c6b")]
\ No newline at end of file
Index: Core/Common/test/Core.Common.Data.TestUtil/Core.Common.Data.TestUtil.csproj
===================================================================
diff -u
--- Core/Common/test/Core.Common.Data.TestUtil/Core.Common.Data.TestUtil.csproj (revision 0)
+++ Core/Common/test/Core.Common.Data.TestUtil/Core.Common.Data.TestUtil.csproj (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -0,0 +1,63 @@
+
+
+
+ Debug
+ x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}
+ Library
+ Properties
+ Core.Common.Data.TestUtil
+ Core.Common.Data.TestUtil
+ v4.0
+ 512
+
+
+ true
+ bin\Debug\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE;DEBUG
+ full
+
+
+ bin\Release\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE
+ true
+ none
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ pdbonly
+ x86
+ MinimumRecommendedRules.ruleset
+
+
+
+
+
+
+
+ Properties\GlobalAssembly.cs
+
+
+
+
+
+ Copying.Lesser.licenseheader
+
+
+
+
+
\ No newline at end of file
Index: Core/Common/test/Core.Common.Data.TestUtil/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Core/Common/test/Core.Common.Data.TestUtil/Properties/AssemblyInfo.cs (revision 0)
+++ Core/Common/test/Core.Common.Data.TestUtil/Properties/AssemblyInfo.cs (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -0,0 +1,27 @@
+// 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Core.Common.Data.TestUtil")]
+[assembly: AssemblyProduct("Core.Common.Data.TestUtil")]
+[assembly: Guid("0b0d2dff-7e7e-4bb0-a007-61800c85809a")]
\ No newline at end of file
Index: Ringtoets.sln
===================================================================
diff -u -rda140d65b716fbd74d742a193477b1796823b772 -rb0d9ce22c72782cce38802f9abb8977ba1973d25
--- Ringtoets.sln (.../Ringtoets.sln) (revision da140d65b716fbd74d742a193477b1796823b772)
+++ Ringtoets.sln (.../Ringtoets.sln) (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -1716,6 +1716,16 @@
{C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
EndProjectSection
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Common.Data.TestUtil", "Core\Common\test\Core.Common.Data.TestUtil\Core.Common.Data.TestUtil.csproj", "{0B0D2DFF-7E7E-4BB0-A007-61800C85809A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core.Common.Data.TestUtil.Test", "Core\Common\test\Core.Common.Data.TestUtil.Test\Core.Common.Data.TestUtil.Test.csproj", "{AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}"
+ ProjectSection(ProjectDependencies) = postProject
+ {C90B77DA-E421-43CC-B82E-529651BC21AC} = {C90B77DA-E421-43CC-B82E-529651BC21AC}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CreateInstaller|x86 = CreateInstaller|x86
@@ -4324,6 +4334,22 @@
{20E27FD6-030E-4C5A-B39A-305299D5FD58}.Release|x86.Build.0 = Release|x86
{20E27FD6-030E-4C5A-B39A-305299D5FD58}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
{20E27FD6-030E-4C5A-B39A-305299D5FD58}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.CreateInstaller|x86.ActiveCfg = Release|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.Debug|x86.ActiveCfg = Debug|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.Debug|x86.Build.0 = Debug|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.Release|x86.ActiveCfg = Release|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.Release|x86.Build.0 = Release|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.CreateInstaller|x86.ActiveCfg = Release|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.Debug|x86.ActiveCfg = Debug|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.Debug|x86.Build.0 = Debug|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.Release|x86.ActiveCfg = Release|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.Release|x86.Build.0 = Release|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -4692,6 +4718,8 @@
{0E329EDD-6CEF-4DF1-A7B2-0F2865535AB0} = {D9DC93FF-DCF3-44A4-9193-9911966CDFF4}
{2E3214A5-E2A2-44FA-AB0E-28200A2439DC} = {D9DC93FF-DCF3-44A4-9193-9911966CDFF4}
{20E27FD6-030E-4C5A-B39A-305299D5FD58} = {D9DC93FF-DCF3-44A4-9193-9911966CDFF4}
+ {0B0D2DFF-7E7E-4BB0-A007-61800C85809A} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
+ {AE665B65-7370-4DAE-9CAD-BBB8D1706C6B} = {0D9858E1-CF2D-4DE5-AC0E-64401900D531}
EndGlobalSection
GlobalSection(TextTemplating) = postSolution
TextTemplating = 1
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/CloneAssert.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/CloneAssert.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/CloneAssert.cs (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -0,0 +1,83 @@
+// 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 NUnit.Framework;
+using Ringtoets.Common.Data.Probabilistics;
+
+namespace Ringtoets.Common.Data.TestUtil
+{
+ ///
+ /// Class to assert clones of specific objects.
+ ///
+ public static class CloneAssert
+ {
+ ///
+ /// Determines if the actual object is a clone of the expected .
+ ///
+ /// The expected .
+ /// The actual object.
+ /// Thrown when the provided parameters are no clones.
+ public static void AreClones(NormalDistribution expected, object actualObject)
+ {
+ Assert.AreNotSame(expected, actualObject);
+ Assert.IsInstanceOf(actualObject);
+
+ var actual = (NormalDistribution) actualObject;
+ Assert.AreEqual(expected.Mean, actual.Mean);
+ Assert.AreEqual(expected.StandardDeviation, actual.StandardDeviation);
+ }
+
+ ///
+ /// Determines if the actual object is a clone of the expected .
+ ///
+ /// The expected .
+ /// The actual object.
+ /// Thrown when the provided parameters are no clones.
+ public static void AreClones(LogNormalDistribution expected, object actualObject)
+ {
+ Assert.AreNotSame(expected, actualObject);
+ Assert.IsInstanceOf(actualObject);
+
+ var actual = (LogNormalDistribution) actualObject;
+ Assert.AreEqual(expected.Mean, actual.Mean);
+ Assert.AreEqual(expected.StandardDeviation, actual.StandardDeviation);
+ Assert.AreEqual(expected.Shift, actual.Shift);
+ }
+
+ ///
+ /// Determines if the actual object is a clone of the expected .
+ ///
+ /// The expected .
+ /// The actual object.
+ /// Thrown when the provided parameters are no clones.
+ public static void AreClones(TruncatedNormalDistribution expected, object actualObject)
+ {
+ Assert.AreNotSame(expected, actualObject);
+ Assert.IsInstanceOf(actualObject);
+
+ var actual = (TruncatedNormalDistribution) actualObject;
+ Assert.AreEqual(expected.Mean, actual.Mean);
+ Assert.AreEqual(expected.StandardDeviation, actual.StandardDeviation);
+ Assert.AreEqual(expected.LowerBoundary, actual.LowerBoundary);
+ Assert.AreEqual(expected.UpperBoundary, actual.UpperBoundary);
+ }
+ }
+}
\ No newline at end of file
Fisheye: Tag b0d9ce22c72782cce38802f9abb8977ba1973d25 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Comparers/CloneComparer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag b0d9ce22c72782cce38802f9abb8977ba1973d25 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Comparers/DistributionCloneComparer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag b0d9ce22c72782cce38802f9abb8977ba1973d25 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Comparers/LogNormalDistributionCloneComparer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag b0d9ce22c72782cce38802f9abb8977ba1973d25 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Comparers/NormalDistributionCloneComparer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag b0d9ce22c72782cce38802f9abb8977ba1973d25 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Comparers/TruncatedNormalDistributionCloneComparer.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj
===================================================================
diff -u -re6f1fa32c70d2188ed0a822df3a6ee70e768e615 -rb0d9ce22c72782cce38802f9abb8977ba1973d25
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (.../Ringtoets.Common.Data.TestUtil.csproj) (revision e6f1fa32c70d2188ed0a822df3a6ee70e768e615)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (.../Ringtoets.Common.Data.TestUtil.csproj) (revision b0d9ce22c72782cce38802f9abb8977ba1973d25)
@@ -56,10 +56,7 @@
-
-
-
@@ -68,8 +65,6 @@
-
-