Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilModel.cs =================================================================== diff -u -r78382ec129ddc7537096860680cef36f3796700d -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilModel.cs (.../MacroStabilityInwardsStochasticSoilModel.cs) (revision 78382ec129ddc7537096860680cef36f3796700d) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilModel.cs (.../MacroStabilityInwardsStochasticSoilModel.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -93,7 +93,7 @@ Geometry.Add(point); } - var newSoilProfiles = new List(); + var newSoilProfiles = new List(); var updatedProfiles = new List(); var addedProfiles = new List(); var removedProfiles = new List(); @@ -133,7 +133,7 @@ return Name; } - private static bool IsSame(ISoilProfile soilProfile, ISoilProfile otherSoilProfile) + private static bool IsSame(IMacroStabilityInwardsSoilProfile soilProfile, IMacroStabilityInwardsSoilProfile otherSoilProfile) { bool equalNames = soilProfile.Name.Equals(otherSoilProfile.Name); bool equalTypes = soilProfile.GetType() == otherSoilProfile.GetType(); Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilProfile.cs =================================================================== diff -u -r78382ec129ddc7537096860680cef36f3796700d -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilProfile.cs (.../MacroStabilityInwardsStochasticSoilProfile.cs) (revision 78382ec129ddc7537096860680cef36f3796700d) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsStochasticSoilProfile.cs (.../MacroStabilityInwardsStochasticSoilProfile.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -60,9 +60,9 @@ public long SoilProfileId { get; } /// - /// Gets the . + /// Gets the . /// - public ISoilProfile SoilProfile { get; set; } + public IMacroStabilityInwardsSoilProfile SoilProfile { get; set; } /// /// Gets the probability of the stochastic soil profile. Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Ringtoets.MacroStabilityInwards.IO.csproj =================================================================== diff -u -r12b385b14eb734d1b09fbcf011b738cbda145205 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Ringtoets.MacroStabilityInwards.IO.csproj (.../Ringtoets.MacroStabilityInwards.IO.csproj) (revision 12b385b14eb734d1b09fbcf011b738cbda145205) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/Ringtoets.MacroStabilityInwards.IO.csproj (.../Ringtoets.MacroStabilityInwards.IO.csproj) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -53,6 +53,7 @@ + Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs =================================================================== diff -u -r12b385b14eb734d1b09fbcf011b738cbda145205 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs (.../MacroStabilityInwardsSoilProfileTransformer.cs) (revision 12b385b14eb734d1b09fbcf011b738cbda145205) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs (.../MacroStabilityInwardsSoilProfileTransformer.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -28,7 +28,7 @@ namespace Ringtoets.MacroStabilityInwards.IO.SoilProfiles { /// - /// Transforms generic into + /// Transforms generic into /// or . /// internal static class MacroStabilityInwardsSoilProfileTransformer Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs =================================================================== diff -u --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs (revision 0) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -0,0 +1,64 @@ +// 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 System; +using Ringtoets.Common.IO.SoilProfile; +using Ringtoets.MacroStabilityInwards.Data.SoilProfile; +using Ringtoets.MacroStabilityInwards.Primitives; + +namespace Ringtoets.MacroStabilityInwards.IO.SoilProfiles +{ + /// + /// Transforms generic into + /// + /// + internal static class MacroStabilityInwardsStochasticSoilProfileTransformer + { + /// + /// Transforms the generic into + /// . + /// + /// The stochastic soil profile to use + /// in the transformation. + /// The transformed soil profile. + /// A new based on the given data. + /// Thrown when any parameter is null. + public static MacroStabilityInwardsStochasticSoilProfile Transform(StochasticSoilProfile stochasticSoilProfile, + IMacroStabilityInwardsSoilProfile soilProfile) + { + if (stochasticSoilProfile == null) + { + throw new ArgumentNullException(nameof(stochasticSoilProfile)); + } + if (soilProfile == null) + { + throw new ArgumentNullException(nameof(soilProfile)); + } + + return new MacroStabilityInwardsStochasticSoilProfile(stochasticSoilProfile.Probability, + SoilProfileType.SoilProfile1D, + 0) + { + SoilProfile = soilProfile + }; + } + } +} \ No newline at end of file Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs =================================================================== diff -u -r677ec9937ae7eff73a09bf937804ad22e0dc5a4b -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs (.../MacroStabilityInwardsCalculatorInput.cs) (revision 677ec9937ae7eff73a09bf937804ad22e0dc5a4b) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/MacroStabilityInwardsCalculatorInput.cs (.../MacroStabilityInwardsCalculatorInput.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -75,7 +75,7 @@ /// /// Gets the profile which contains a 1 dimensional definition of soil layers with properties. /// - public ISoilProfile SoilProfile { internal get; set; } + public IMacroStabilityInwardsSoilProfile SoilProfile { internal get; set; } #endregion } @@ -96,7 +96,7 @@ /// /// Gets the profile which contains a definition of soil layers with properties. /// - public ISoilProfile SoilProfile { get; private set; } + public IMacroStabilityInwardsSoilProfile SoilProfile { get; private set; } #endregion } Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/StochasticSoilModelUpdateDataStrategy.cs =================================================================== diff -u -r78382ec129ddc7537096860680cef36f3796700d -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/StochasticSoilModelUpdateDataStrategy.cs (.../StochasticSoilModelUpdateDataStrategy.cs) (revision 78382ec129ddc7537096860680cef36f3796700d) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Plugin/FileImporter/StochasticSoilModelUpdateDataStrategy.cs (.../StochasticSoilModelUpdateDataStrategy.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -87,7 +87,7 @@ private IEnumerable UpdateStochasticSoilModel(MacroStabilityInwardsStochasticSoilModel modelToUpdate, MacroStabilityInwardsStochasticSoilModel modelToUpdateFrom) { - Dictionary oldProfiles = modelToUpdate + Dictionary oldProfiles = modelToUpdate .StochasticSoilProfiles .ToDictionary(ssp => ssp, ssp => ssp.SoilProfile, new ReferenceEqualityComparer()); Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/IMacroStabilityInwardsSoilProfile.cs =================================================================== diff -u --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/IMacroStabilityInwardsSoilProfile.cs (revision 0) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/IMacroStabilityInwardsSoilProfile.cs (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -0,0 +1,34 @@ +// 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. + +namespace Ringtoets.MacroStabilityInwards.Primitives +{ + /// + /// Interface for the different types of soil profile that can be used in macro stability inwards. + /// + public interface IMacroStabilityInwardsSoilProfile + { + /// + /// Gets the name of the soil profile. + /// + string Name { get; } + } +} \ No newline at end of file Fisheye: Tag 74be63b9f6ac8bc60a6754667a3bcee0485853a0 refers to a dead (removed) revision in file `Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/ISoilProfile.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile1D.cs =================================================================== diff -u -r12b385b14eb734d1b09fbcf011b738cbda145205 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile1D.cs (.../MacroStabilityInwardsSoilProfile1D.cs) (revision 12b385b14eb734d1b09fbcf011b738cbda145205) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile1D.cs (.../MacroStabilityInwardsSoilProfile1D.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -29,7 +29,7 @@ /// /// This class represents a soil profile, which was imported for use in a macro stability inwards calculation. /// - public class MacroStabilityInwardsSoilProfile1D : ISoilProfile + public class MacroStabilityInwardsSoilProfile1D : IMacroStabilityInwardsSoilProfile { private MacroStabilityInwardsSoilLayer1D[] layers; private string name; Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile2D.cs =================================================================== diff -u -r12b385b14eb734d1b09fbcf011b738cbda145205 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile2D.cs (.../MacroStabilityInwardsSoilProfile2D.cs) (revision 12b385b14eb734d1b09fbcf011b738cbda145205) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/MacroStabilityInwardsSoilProfile2D.cs (.../MacroStabilityInwardsSoilProfile2D.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -29,7 +29,7 @@ /// /// This class represents a soil profile, which was imported for use in a macro stability inwards calculation. /// - public class MacroStabilityInwardsSoilProfile2D : ISoilProfile + public class MacroStabilityInwardsSoilProfile2D : IMacroStabilityInwardsSoilProfile { private MacroStabilityInwardsSoilLayer2D[] layers; private string name; Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/Ringtoets.MacroStabilityInwards.Primitives.csproj =================================================================== diff -u -r602aa9de93c40ec9ca76e79530d13e7e32b45151 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/Ringtoets.MacroStabilityInwards.Primitives.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.csproj) (revision 602aa9de93c40ec9ca76e79530d13e7e32b45151) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Primitives/Ringtoets.MacroStabilityInwards.Primitives.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.csproj) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -42,7 +42,7 @@ Properties\GlobalAssembly.cs - + Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs =================================================================== diff -u -r78382ec129ddc7537096860680cef36f3796700d -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs (.../MacroStabilityInwardsStochasticSoilModelTest.cs) (revision 78382ec129ddc7537096860680cef36f3796700d) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilModelTest.cs (.../MacroStabilityInwardsStochasticSoilModelTest.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -413,7 +413,7 @@ Assert.AreEqual(name, stochasticSoilModel.ToString()); } - private static ISoilProfile CreateMacroStabilityInwardsSoilProfile1D(string name) + private static IMacroStabilityInwardsSoilProfile CreateMacroStabilityInwardsSoilProfile1D(string name) { return new MacroStabilityInwardsSoilProfile1D(name, 0.0, new Collection { @@ -427,7 +427,7 @@ }, SoilProfileType.SoilProfile1D, 0); } - private class TestSoilProfile : ISoilProfile + private class TestSoilProfile : IMacroStabilityInwardsSoilProfile { public string Name { get; } = ""; } Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilProfileTest.cs =================================================================== diff -u -r78382ec129ddc7537096860680cef36f3796700d -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilProfileTest.cs (.../MacroStabilityInwardsStochasticSoilProfileTest.cs) (revision 78382ec129ddc7537096860680cef36f3796700d) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.Test/SoilProfile/MacroStabilityInwardsStochasticSoilProfileTest.cs (.../MacroStabilityInwardsStochasticSoilProfileTest.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -329,7 +329,7 @@ return new string('x', random.Next(0, 40)); } - private class TestSoilProfile : ISoilProfile + private class TestSoilProfile : IMacroStabilityInwardsSoilProfile { public TestSoilProfile() {} @@ -347,7 +347,7 @@ public override bool Equals(object obj) { - var other = obj as ISoilProfile; + var other = obj as IMacroStabilityInwardsSoilProfile; return other != null && Name.Equals(other.Name); } } Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/Ringtoets.MacroStabilityInwards.IO.Test.csproj =================================================================== diff -u -r12b385b14eb734d1b09fbcf011b738cbda145205 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/Ringtoets.MacroStabilityInwards.IO.Test.csproj (.../Ringtoets.MacroStabilityInwards.IO.Test.csproj) (revision 12b385b14eb734d1b09fbcf011b738cbda145205) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/Ringtoets.MacroStabilityInwards.IO.Test.csproj (.../Ringtoets.MacroStabilityInwards.IO.Test.csproj) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -81,6 +81,7 @@ + Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformerTest.cs =================================================================== diff -u --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformerTest.cs (revision 0) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.IO.Test/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformerTest.cs (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -0,0 +1,93 @@ +// 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 System; +using NUnit.Framework; +using Rhino.Mocks; +using Ringtoets.Common.IO.SoilProfile; +using Ringtoets.MacroStabilityInwards.Data.SoilProfile; +using Ringtoets.MacroStabilityInwards.IO.SoilProfiles; +using Ringtoets.MacroStabilityInwards.Primitives; + +namespace Ringtoets.MacroStabilityInwards.IO.Test.SoilProfiles +{ + [TestFixture] + public class MacroStabilityInwardsStochasticSoilProfileTransformerTest + { + [Test] + public void Transform_StochasticSoilProfileNull_ThrowsArgumentNullException() + { + // Setup + var mocks = new MockRepository(); + var soilProfile = mocks.Stub(); + mocks.ReplayAll(); + + // Call + TestDelegate call = () => MacroStabilityInwardsStochasticSoilProfileTransformer.Transform(null, soilProfile); + + // Assert + var exception = Assert.Throws(call); + Assert.AreEqual("stochasticSoilProfile", exception.ParamName); + mocks.VerifyAll(); + } + + [Test] + public void Transform_SoilProfileNull_ThrowsArgumentNullException() + { + // Setup + var mocks = new MockRepository(); + var soilProfile = mocks.Stub(); + mocks.ReplayAll(); + + var stochasticSoilProfile = new StochasticSoilProfile(0, soilProfile); + + // Call + TestDelegate call = () => MacroStabilityInwardsStochasticSoilProfileTransformer.Transform(stochasticSoilProfile, null); + + // Assert + var exception = Assert.Throws(call); + Assert.AreEqual("soilProfile", exception.ParamName); + mocks.VerifyAll(); + } + + + [Test] + public void Transform_ValidData_ReturnExpectedMacroStabilityInwardsStochasticSoilProfile() + { + // Setup + var mocks = new MockRepository(); + var soilProfile = mocks.Stub(); + var macroStabilityInwardsSoilProfile = mocks.Stub(); + mocks.ReplayAll(); + + var stochasticSoilProfile = new StochasticSoilProfile(new Random(9).NextDouble(), soilProfile); + + // Call + MacroStabilityInwardsStochasticSoilProfile macroStabilityInwardsStochasticSoilProfile + = MacroStabilityInwardsStochasticSoilProfileTransformer.Transform(stochasticSoilProfile, macroStabilityInwardsSoilProfile); + + // Assert + Assert.AreEqual(stochasticSoilProfile.Probability, macroStabilityInwardsStochasticSoilProfile.Probability); + Assert.AreSame(macroStabilityInwardsSoilProfile, macroStabilityInwardsStochasticSoilProfile.SoilProfile); + mocks.VerifyAll(); + } + } +} \ No newline at end of file Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/MacroStabilityInwardsCalculatorInputTest.cs =================================================================== diff -u -r99f686f22091051a65ff1ee20abd68ffad713647 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/MacroStabilityInwardsCalculatorInputTest.cs (.../MacroStabilityInwardsCalculatorInputTest.cs) (revision 99f686f22091051a65ff1ee20abd68ffad713647) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.Test/MacroStabilityInwardsCalculatorInputTest.cs (.../MacroStabilityInwardsCalculatorInputTest.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -45,7 +45,7 @@ { // Setup var mocks = new MockRepository(); - var soilProfile = mocks.Stub(); + var soilProfile = mocks.Stub(); mocks.ReplayAll(); var random = new Random(11); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile1DTest.cs =================================================================== diff -u -r677ec9937ae7eff73a09bf937804ad22e0dc5a4b -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile1DTest.cs (.../MacroStabilityInwardsSoilProfile1DTest.cs) (revision 677ec9937ae7eff73a09bf937804ad22e0dc5a4b) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile1DTest.cs (.../MacroStabilityInwardsSoilProfile1DTest.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -53,7 +53,7 @@ var profile = new MacroStabilityInwardsSoilProfile1D(name, bottom, layers, type, soilProfileId); // Assert - Assert.IsInstanceOf(profile); + Assert.IsInstanceOf(profile); Assert.AreNotSame(layers, profile.Layers); Assert.AreEqual(name, profile.Name); Assert.AreEqual(bottom, profile.Bottom); Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile2DTest.cs =================================================================== diff -u -r376649a985f9523e6ecac956b3abd39ed1a64369 -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile2DTest.cs (.../MacroStabilityInwardsSoilProfile2DTest.cs) (revision 376649a985f9523e6ecac956b3abd39ed1a64369) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilProfile2DTest.cs (.../MacroStabilityInwardsSoilProfile2DTest.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -50,7 +50,7 @@ var profile = new MacroStabilityInwardsSoilProfile2D(name, layers, type, soilProfileId); // Assert - Assert.IsInstanceOf(profile); + Assert.IsInstanceOf(profile); Assert.AreNotSame(layers, profile.Layers); Assert.AreEqual(name, profile.Name); Assert.AreEqual(type, profile.SoilProfileType); Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs =================================================================== diff -u -r09693d79085118c47709b7059ab7c1ef459ad2aa -r74be63b9f6ac8bc60a6754667a3bcee0485853a0 --- Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs (.../PipingStochasticSoilProfileTransformer.cs) (revision 09693d79085118c47709b7059ab7c1ef459ad2aa) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs (.../PipingStochasticSoilProfileTransformer.cs) (revision 74be63b9f6ac8bc60a6754667a3bcee0485853a0) @@ -32,12 +32,12 @@ public static class PipingStochasticSoilProfileTransformer { /// - /// Transforms the generic into . + /// Transforms the generic into . /// /// The stochastic soil profile to use in the transformation. /// The transformed piping soil profile. /// A new based on the given data. - /// Thrown when any of the input parameters is null. + /// Thrown when any parameter is null. public static PipingStochasticSoilProfile Transform(StochasticSoilProfile stochasticSoilProfile, PipingSoilProfile soilProfile) { if (stochasticSoilProfile == null)