Index: Ringtoets.sln
===================================================================
diff -u -r07efb7c80815d1747386437cf8dcd6db25b9160a -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets.sln (.../Ringtoets.sln) (revision 07efb7c80815d1747386437cf8dcd6db25b9160a)
+++ Ringtoets.sln (.../Ringtoets.sln) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -348,6 +348,10 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ringtoets.HeightStructures.Service.Test", "Ringtoets\HeightStructures\test\Ringtoets.HeightStructures.Service.Test\Ringtoets.HeightStructures.Service.Test.csproj", "{C2DC616D-80F1-46F3-B6ED-CCCB13F64974}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ringtoets.Common.Data.TestUtil", "Ringtoets\Common\test\Ringtoets.Common.Data.TestUtil\Ringtoets.Common.Data.TestUtil.csproj", "{4843D6E5-066F-4795-94F5-1D53932DD03C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ringtoets.Common.Data.TestUtil.Test", "Ringtoets\Common\test\Ringtoets.Common.Data.TestUtil.Test\Ringtoets.Common.Data.TestUtil.Test.csproj", "{7C78463D-09B1-455C-B58E-B8EDC9FBCB60}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CreateInstaller|x86 = CreateInstaller|x86
@@ -1367,6 +1371,22 @@
{C2DC616D-80F1-46F3-B6ED-CCCB13F64974}.Release|x86.Build.0 = Release|x86
{C2DC616D-80F1-46F3-B6ED-CCCB13F64974}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
{C2DC616D-80F1-46F3-B6ED-CCCB13F64974}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.CreateInstaller|x86.ActiveCfg = Release|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.Debug|x86.ActiveCfg = Debug|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.Debug|x86.Build.0 = Debug|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.Release|x86.ActiveCfg = Release|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.Release|x86.Build.0 = Release|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.CreateInstaller|x86.ActiveCfg = Release|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.CreateInstallerWithDemoProject|x86.ActiveCfg = Release|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.Debug|x86.ActiveCfg = Debug|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.Debug|x86.Build.0 = Debug|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.Release|x86.ActiveCfg = Release|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.Release|x86.Build.0 = Release|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.ReleaseForCodeCoverage|x86.ActiveCfg = ReleaseForCodeCoverage|x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}.ReleaseForCodeCoverage|x86.Build.0 = ReleaseForCodeCoverage|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1421,6 +1441,8 @@
{886FDBE5-7065-4AB9-A894-869DBFD4E440} = {B5F4F5A5-FD36-405D-ABA1-56C270207C8F}
{7BABA02F-4809-43D2-93E5-DA9ED69BDDE2} = {B5F4F5A5-FD36-405D-ABA1-56C270207C8F}
{7537DE22-3330-4F21-ABA2-FCEF117B4223} = {B5F4F5A5-FD36-405D-ABA1-56C270207C8F}
+ {4843D6E5-066F-4795-94F5-1D53932DD03C} = {B5F4F5A5-FD36-405D-ABA1-56C270207C8F}
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60} = {B5F4F5A5-FD36-405D-ABA1-56C270207C8F}
{3ED34ACD-41C9-4251-81EC-7493E0BFF57D} = {F8FFD6DD-19DA-47CE-A0BD-53F4E7D8BB86}
{1F0D20C2-7F04-431D-AF22-95A31FD53733} = {F8FFD6DD-19DA-47CE-A0BD-53F4E7D8BB86}
{D64E4F0E-E341-496F-82B2-941AD202B4E3} = {3ED34ACD-41C9-4251-81EC-7493E0BFF57D}
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/LimitedPrecisionHelperTest.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/LimitedPrecisionHelperTest.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/LimitedPrecisionHelperTest.cs (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,73 @@
+// Copyright (C) Stichting Deltares 2016. 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 System;
+using Core.Common.Base.Data;
+using NUnit.Framework;
+using Ringtoets.Common.Data.Probabilistics;
+
+namespace Ringtoets.Common.Data.TestUtil.Test
+{
+ [TestFixture]
+ public class LimitedPrecisionHelperTest
+ {
+ [Test]
+ [TestCase(1)]
+ [TestCase(2)]
+ public void GetAccuracy_RoundedDouble_ReturnsAccuracy(int precision)
+ {
+ // Setup
+ var roundedDouble = new RoundedDouble(precision);
+
+ // Call
+ var accuracy = roundedDouble.GetAccuracy();
+
+ // Assert
+ var expectedPrecision = Math.Pow(10.0, -precision);
+ Assert.AreEqual(expectedPrecision, accuracy);
+ }
+
+ [Test]
+ [TestCase(1)]
+ [TestCase(2)]
+ public void GetAccuracy_Distribution_ReturnsAccuracy(int precision)
+ {
+ // Setup
+ var distribution = new SimpleDistribution
+ {
+ Mean = new RoundedDouble(precision)
+ };
+
+ // Call
+ var accuracy = distribution.GetAccuracy();
+
+ // Assert
+ var expectedPrecision = Math.Pow(10.0, -precision);
+ Assert.AreEqual(expectedPrecision, accuracy);
+ }
+
+ private class SimpleDistribution : IDistribution
+ {
+ public RoundedDouble Mean { get; set; }
+ public RoundedDouble StandardDeviation { get; set; }
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Properties/AssemblyInfo.cs (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2016. 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 System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+
+[assembly: AssemblyTitle("Ringtoets.Common.Data.TestUtil.Test")]
+[assembly: AssemblyProduct("Ringtoets.Common.Data.TestUtil.Test")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+
+[assembly: Guid("4b82401b-bbdd-407d-8194-e7477d75d2d4")]
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/Ringtoets.Common.Data.TestUtil.Test.csproj (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,84 @@
+
+
+
+ Debug
+ x86
+ {7C78463D-09B1-455C-B58E-B8EDC9FBCB60}
+ Library
+ Properties
+ Ringtoets.Common.Data.TestUtil.Test
+ Ringtoets.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
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ x86
+ MinimumRecommendedRules.ruleset
+ pdbonly
+
+
+
+ ..\..\..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Copying.licenseheader
+
+
+
+
+
+ {3BBFD65B-B277-4E50-AE6D-BD24C3434609}
+ Core.Common.Base
+
+
+ {d4200f43-3f72-4f42-af0a-8ced416a38ec}
+ Ringtoets.Common.Data
+
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/packages.config
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/packages.config (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/packages.config (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,27 @@
+
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/LimitedPrecisionHelper.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/LimitedPrecisionHelper.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/LimitedPrecisionHelper.cs (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,50 @@
+// Copyright (C) Stichting Deltares 2016. 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 System;
+using Core.Common.Base.Data;
+using Ringtoets.Common.Data.Probabilistics;
+
+namespace Ringtoets.Common.Data.TestUtil
+{
+ ///
+ /// Helper class for dealing with classes that have inherently limited precision.
+ ///
+ public static class LimitedPrecisionHelper
+ {
+ ///
+ /// Gets the accuracy for a .
+ ///
+ public static double GetAccuracy(this RoundedDouble roundedDouble)
+ {
+ return Math.Pow(10.0, -roundedDouble.NumberOfDecimalPlaces);
+ }
+
+ ///
+ /// Gets the accuracy for a .
+ ///
+ /// Assumes that all the parameters of the distributions share the same accuracy.
+ public static double GetAccuracy(this IDistribution distribution)
+ {
+ return distribution.Mean.GetAccuracy();
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Properties/AssemblyInfo.cs
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Properties/AssemblyInfo.cs (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Properties/AssemblyInfo.cs (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2016. 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 System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+
+[assembly: AssemblyTitle("Ringtoets.Common.Data.TestUtil")]
+[assembly: AssemblyProduct("Ringtoets.Common.Data.TestUtil")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+
+[assembly: Guid("d2211041-2c65-488d-98f0-3efc28e91834")]
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj
===================================================================
diff -u
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (revision 0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/Ringtoets.Common.Data.TestUtil.csproj (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -0,0 +1,75 @@
+
+
+
+ Debug
+ x86
+ {4843D6E5-066F-4795-94F5-1D53932DD03C}
+ Library
+ Properties
+ Ringtoets.Common.Data.TestUtil
+ Ringtoets.Common.Data.TestUtil
+ v4.0
+ 512
+
+
+ true
+ bin\Debug\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE;DEBUG
+ full
+
+
+ bin\Release\
+ 4
+ x86
+ MinimumRecommendedRules.ruleset
+ TRACE
+ true
+
+
+ bin\ReleaseForCodeCoverage\
+ TRACE
+ true
+ x86
+ MinimumRecommendedRules.ruleset
+ pdbonly
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Copying.licenseheader
+
+
+
+
+ {3BBFD65B-B277-4E50-AE6D-BD24C3434609}
+ Core.Common.Base
+
+
+ {D4200F43-3F72-4F42-AF0A-8CED416A38EC}
+ Ringtoets.Common.Data
+
+
+
+
+
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsOutputCalculationServiceTest.cs
===================================================================
diff -u -rd2f9b4f26f69988ea1c55caaa58af0831152458f -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsOutputCalculationServiceTest.cs (.../GrassCoverErosionInwardsOutputCalculationServiceTest.cs) (revision d2f9b4f26f69988ea1c55caaa58af0831152458f)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsOutputCalculationServiceTest.cs (.../GrassCoverErosionInwardsOutputCalculationServiceTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -19,9 +19,9 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
-using Core.Common.Base.Data;
using NUnit.Framework;
using Ringtoets.Common.Data.Calculation;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.GrassCoverErosionInwards.Data;
namespace Ringtoets.GrassCoverErosionInwards.Service.Test
@@ -33,17 +33,21 @@
public void Calculate_CompleteInput_ReturnsGrassCoverErosionInwardsOutputWithValues()
{
// Setup
- var norm = 30000;
- var probability = 0.24;
+ const int norm = 30000;
+ const double probability = 0.24;
var calculation = new GrassCoverErosionInwardsCalculation(new GeneralGrassCoverErosionInwardsInput(),
new GeneralNormProbabilityInput());
// Call
GrassCoverErosionInwardsOutputCalculationService.Calculate(calculation, norm, probability);
// Assert
- RoundedDouble result = calculation.Output.FactorOfSafety;
- Assert.AreEqual(0.919890363, result, 1e-2);
+ GrassCoverErosionInwardsOutput output = calculation.Output;
+ Assert.AreEqual(0.9199, output.FactorOfSafety, output.FactorOfSafety.GetAccuracy());
+ Assert.AreEqual(probability, output.Probability, output.Probability.GetAccuracy());
+ Assert.AreEqual(4.107, output.Reliability, output.Reliability.GetAccuracy());
+ Assert.AreEqual(3.99, output.RequiredProbability, output.RequiredProbability.GetAccuracy());
+ Assert.AreEqual(4.465, output.RequiredReliability, output.RequiredReliability.GetAccuracy());
}
}
}
\ No newline at end of file
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj
===================================================================
diff -u -ra053684de9667dfb70aa8cf669e22843c2bd39ed -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj (.../Ringtoets.GrassCoverErosionInwards.Service.Test.csproj) (revision a053684de9667dfb70aa8cf669e22843c2bd39ed)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Service.Test/Ringtoets.GrassCoverErosionInwards.Service.Test.csproj (.../Ringtoets.GrassCoverErosionInwards.Service.Test.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -72,6 +72,10 @@
{d4200f43-3f72-4f42-af0a-8ced416a38ec}Ringtoets.Common.Data
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+ {90DE728E-48EF-4665-AB38-3D88E41D9F4D}Ringtoets.GrassCoverErosionInwards.Data
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingInputTest.cs
===================================================================
diff -u -r1e4d77c17c6eac78bfd705efdff9e52b4fca2c7e -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingInputTest.cs (.../DerivedPipingInputTest.cs) (revision 1e4d77c17c6eac78bfd705efdff9e52b4fca2c7e)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/DerivedPipingInputTest.cs (.../DerivedPipingInputTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -24,6 +24,7 @@
using Core.Common.TestUtil;
using NUnit.Framework;
using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.HydraRing.Data;
using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.KernelWrapper.SubCalculator;
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs
===================================================================
diff -u -r4af59f05cb6ced6464d51c8dff8cb0b8bfca8edd -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision 4af59f05cb6ced6464d51c8dff8cb0b8bfca8edd)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -27,6 +27,7 @@
using NUnit.Framework;
using Ringtoets.Common.Data.Calculation;
using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.HydraRing.Data;
using Ringtoets.Piping.Data.Properties;
using Ringtoets.Piping.Data.TestUtil;
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs
===================================================================
diff -u -rc7c07db38829afdc5965c331844e1d39123944ff -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs (.../PipingSemiProbabilisticOutputTest.cs) (revision c7c07db38829afdc5965c331844e1d39123944ff)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSemiProbabilisticOutputTest.cs (.../PipingSemiProbabilisticOutputTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -21,9 +21,8 @@
using System;
using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
-using Ringtoets.Piping.Data.TestUtil;
-
namespace Ringtoets.Piping.Data.Test
{
public class PipingSemiProbabilisticOutputTest
@@ -50,13 +49,13 @@
// Call
var output = new PipingSemiProbabilisticOutput(
- upliftFactorOfSafety,
+ upliftFactorOfSafety,
upliftReliability,
upliftProbability,
- heaveFactorOfSafety,
+ heaveFactorOfSafety,
heaveReliability,
heaveProbability,
- sellmeijerFactorOfSafety,
+ sellmeijerFactorOfSafety,
sellmeijerReliability,
sellmeijerProbability,
requiredProbability,
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/Ringtoets.Piping.Data.Test.csproj
===================================================================
diff -u -r64d5609bb2912cd52dc74deffdd189222e240599 -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/Ringtoets.Piping.Data.Test.csproj (.../Ringtoets.Piping.Data.Test.csproj) (revision 64d5609bb2912cd52dc74deffdd189222e240599)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/Ringtoets.Piping.Data.Test.csproj (.../Ringtoets.Piping.Data.Test.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -87,6 +87,10 @@
{d4200f43-3f72-4f42-af0a-8ced416a38ec}Ringtoets.Common.Data
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+ {70f8cc9c-5bc8-4fb2-b201-eae7fa8088c2}Ringtoets.HydraRing.Data
Fisheye: Tag c196992ccccf32ce0fd55b83a17e3f3574467a1e refers to a dead (removed) revision in file `Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/LimitedPrecisionHelper.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj
===================================================================
diff -u -r8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj (.../Ringtoets.Piping.Data.TestUtil.csproj) (revision 8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Data.TestUtil/Ringtoets.Piping.Data.TestUtil.csproj (.../Ringtoets.Piping.Data.TestUtil.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -44,7 +44,6 @@
-
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs
===================================================================
diff -u -rec5eeafbbd987b02a9d9c07b7e920c03d567f3f7 -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs (.../PipingInputContextPropertiesTest.cs) (revision ec5eeafbbd987b02a9d9c07b7e920c03d567f3f7)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingInputContextPropertiesTest.cs (.../PipingInputContextPropertiesTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -30,9 +30,9 @@
using Rhino.Mocks;
using Ringtoets.Common.Data.AssessmentSection;
using Ringtoets.Common.Data.Probabilistics;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.HydraRing.Data;
using Ringtoets.Piping.Data;
-using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.Forms.PresentationObjects;
using Ringtoets.Piping.Forms.PropertyClasses;
using Ringtoets.Piping.Forms.TypeConverters;
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingSemiProbabilisticOutputPropertiesTest.cs
===================================================================
diff -u -r7281eec1d929b1495d44b0c18655de9b0c21a392 -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingSemiProbabilisticOutputPropertiesTest.cs (.../PipingSemiProbabilisticOutputPropertiesTest.cs) (revision 7281eec1d929b1495d44b0c18655de9b0c21a392)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/PropertyClasses/PipingSemiProbabilisticOutputPropertiesTest.cs (.../PipingSemiProbabilisticOutputPropertiesTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -1,8 +1,8 @@
using System;
using Core.Common.Gui.PropertyBag;
using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Piping.Data;
-using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.Forms.PropertyClasses;
namespace Ringtoets.Piping.Forms.Test.PropertyClasses
@@ -20,7 +20,7 @@
Assert.IsInstanceOf>(properties);
Assert.IsNull(properties.Data);
}
-
+
[Test]
public void GetProperties_WithData_ReturnExpectedValues()
{
@@ -29,28 +29,28 @@
var bigFactor = 1000000;
double upliftFactorOfSafety = random.NextDouble();
double upliftReliability = random.NextDouble();
- double upliftProbability = random.NextDouble() * bigFactor;
+ double upliftProbability = random.NextDouble()*bigFactor;
double heaveFactorOfSafety = random.NextDouble();
double heaveReliability = random.NextDouble();
- double heaveProbability = random.NextDouble() * bigFactor;
+ double heaveProbability = random.NextDouble()*bigFactor;
double sellmeijerFactorOfSafety = random.NextDouble();
double sellmeijerReliability = random.NextDouble();
- double sellmeijerProbability = random.NextDouble() * bigFactor;
+ double sellmeijerProbability = random.NextDouble()*bigFactor;
double requiredProbability = random.NextDouble();
double requiredReliability = random.NextDouble();
- double pipingProbability = random.NextDouble() * bigFactor;
- double pipingReliability = random.NextDouble() * bigFactor;
+ double pipingProbability = random.NextDouble()*bigFactor;
+ double pipingReliability = random.NextDouble()*bigFactor;
double pipingFactorOfSafety = random.NextDouble();
// Call
var semiProbabilisticOutput = new PipingSemiProbabilisticOutput(
- upliftFactorOfSafety,
+ upliftFactorOfSafety,
upliftReliability,
upliftProbability,
- heaveFactorOfSafety,
+ heaveFactorOfSafety,
heaveReliability,
heaveProbability,
- sellmeijerFactorOfSafety,
+ sellmeijerFactorOfSafety,
sellmeijerReliability,
sellmeijerProbability,
requiredProbability,
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj
===================================================================
diff -u -r4539b4546747c257739b1695b9ebc9c29e393ffe -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision 4539b4546747c257739b1695b9ebc9c29e393ffe)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Ringtoets.Piping.Forms.Test.csproj (.../Ringtoets.Piping.Forms.Test.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -155,6 +155,10 @@
{4d840673-3812-4338-a352-84854e32b8a0}Ringtoets.Common.Forms
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+ {70f8cc9c-5bc8-4fb2-b201-eae7fa8088c2}Ringtoets.HydraRing.Data
Index: Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs
===================================================================
diff -u -r8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs (.../InputParameterCalculationServiceTest.cs) (revision 8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f)
+++ Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs (.../InputParameterCalculationServiceTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -25,6 +25,7 @@
using Core.Common.Base.Geometry;
using Deltares.WTIPiping;
using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.HydraRing.Data;
using Ringtoets.Piping.Data;
using Ringtoets.Piping.Data.TestUtil;
Index: Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/Ringtoets.Piping.InputParameterCalculation.Test.csproj
===================================================================
diff -u -r8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/Ringtoets.Piping.InputParameterCalculation.Test.csproj (.../Ringtoets.Piping.InputParameterCalculation.Test.csproj) (revision 8832cfacbfb0a999d9dd5ddcb93fd81bdb2fb09f)
+++ Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/Ringtoets.Piping.InputParameterCalculation.Test.csproj (.../Ringtoets.Piping.InputParameterCalculation.Test.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -71,6 +71,10 @@
{d4200f43-3f72-4f42-af0a-8ced416a38ec}Ringtoets.Common.Data
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+ {70f8cc9c-5bc8-4fb2-b201-eae7fa8088c2}Ringtoets.HydraRing.Data
Index: Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs
===================================================================
diff -u -rc5f90c4f9b42d985f16f99ad8732576b9217267a -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs (.../PipingCalculationServiceTest.cs) (revision c5f90c4f9b42d985f16f99ad8732576b9217267a)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingCalculationServiceTest.cs (.../PipingCalculationServiceTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -3,6 +3,7 @@
using Core.Common.Base.Data;
using Core.Common.TestUtil;
using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Piping.Data;
using Ringtoets.Piping.Data.TestUtil;
using Ringtoets.Piping.KernelWrapper.SubCalculator;
Index: Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingSemiProbabilisticCalculationServiceTest.cs
===================================================================
diff -u -ra053684de9667dfb70aa8cf669e22843c2bd39ed -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingSemiProbabilisticCalculationServiceTest.cs (.../PipingSemiProbabilisticCalculationServiceTest.cs) (revision a053684de9667dfb70aa8cf669e22843c2bd39ed)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/PipingSemiProbabilisticCalculationServiceTest.cs (.../PipingSemiProbabilisticCalculationServiceTest.cs) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -2,8 +2,8 @@
using Core.Common.Base.Data;
using Core.Common.TestUtil;
using NUnit.Framework;
+using Ringtoets.Common.Data.TestUtil;
using Ringtoets.Piping.Data;
-using Ringtoets.Piping.Data.TestUtil;
namespace Ringtoets.Piping.Service.Test
{
Index: Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/Ringtoets.Piping.Service.Test.csproj
===================================================================
diff -u -r52fb2dd367bdca54564201857ed6e0b3cc244693 -rc196992ccccf32ce0fd55b83a17e3f3574467a1e
--- Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/Ringtoets.Piping.Service.Test.csproj (.../Ringtoets.Piping.Service.Test.csproj) (revision 52fb2dd367bdca54564201857ed6e0b3cc244693)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Service.Test/Ringtoets.Piping.Service.Test.csproj (.../Ringtoets.Piping.Service.Test.csproj) (revision c196992ccccf32ce0fd55b83a17e3f3574467a1e)
@@ -79,6 +79,10 @@
Ringtoets.Common.DataTrue
+
+ {4843d6e5-066f-4795-94f5-1d53932dd03c}
+ Ringtoets.Common.Data.TestUtil
+ {70F8CC9C-5BC8-4FB2-B201-EAE7FA8088C2}Ringtoets.HydraRing.Data