Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/MacroStabilityInwardsPreconsolidationStressTestFactoryTest.cs =================================================================== diff -u --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/MacroStabilityInwardsPreconsolidationStressTestFactoryTest.cs (revision 0) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/MacroStabilityInwardsPreconsolidationStressTestFactoryTest.cs (revision aedfa6ad0dee67ba679b53b8b65c5414e0132455) @@ -0,0 +1,43 @@ +// 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; + +namespace Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test +{ + [TestFixture] + public class MacroStabilityInwardsPreconsolidationStressTestFactoryTest + { + [Test] + public void CreateMacroStabilityInwardsPreconsolidationStress_ReturnsExpectedValues() + { + // Call + MacroStabilityInwardsPreconsolidationStress stress = + MacroStabilityInwardsPreconsolidationStressTestFactory.CreateMacroStabilityInwardsPreconsolidationStress(); + + // Assert + Assert.AreEqual(13, stress.XCoordinate); + Assert.AreEqual(34, stress.ZCoordinate); + Assert.AreEqual(10.09, stress.PreconsolidationStressMean); + Assert.AreEqual(20.05, stress.PreconsolidationStressCoefficientOfVariation); + } + } +} \ No newline at end of file Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test.csproj =================================================================== diff -u -rf2ba7f68f5de2fc3c8dec8baf7326808120cee52 -raedfa6ad0dee67ba679b53b8b65c5414e0132455 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test.csproj) (revision f2ba7f68f5de2fc3c8dec8baf7326808120cee52) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.TestUtil.Test.csproj) (revision aedfa6ad0dee67ba679b53b8b65c5414e0132455) @@ -50,6 +50,7 @@ Properties\GlobalAssembly.cs + Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/MacroStabilityInwardsPreconsolidationStressTestFactory.cs =================================================================== diff -u --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/MacroStabilityInwardsPreconsolidationStressTestFactory.cs (revision 0) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/MacroStabilityInwardsPreconsolidationStressTestFactory.cs (revision aedfa6ad0dee67ba679b53b8b65c5414e0132455) @@ -0,0 +1,39 @@ +// 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.TestUtil +{ + /// + /// Factory to create simple + /// instances that can be used for testing. + /// + public static class MacroStabilityInwardsPreconsolidationStressTestFactory + { + /// + /// Creates a new instance of . + /// + /// The created . + public static MacroStabilityInwardsPreconsolidationStress CreateMacroStabilityInwardsPreconsolidationStress() + { + return new MacroStabilityInwardsPreconsolidationStress(13, 34, 10.09, 20.05); + } + } +} \ No newline at end of file Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.csproj =================================================================== diff -u -rf2ba7f68f5de2fc3c8dec8baf7326808120cee52 -raedfa6ad0dee67ba679b53b8b65c5414e0132455 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.TestUtil.csproj) (revision f2ba7f68f5de2fc3c8dec8baf7326808120cee52) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.TestUtil/Ringtoets.MacroStabilityInwards.Primitives.TestUtil.csproj (.../Ringtoets.MacroStabilityInwards.Primitives.TestUtil.csproj) (revision aedfa6ad0dee67ba679b53b8b65c5414e0132455) @@ -46,6 +46,7 @@ Properties\GlobalAssembly.cs +