Index: Riskeer/Piping/src/Riskeer.Piping.Data/Properties/Resources.Designer.cs =================================================================== diff -u -rea96684dcf2b359c99a821958190dd4e05bb3b17 -r9986e3e171598efc3d5f939cdd5367d9d6f6a6bb --- Riskeer/Piping/src/Riskeer.Piping.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ea96684dcf2b359c99a821958190dd4e05bb3b17) +++ Riskeer/Piping/src/Riskeer.Piping.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 9986e3e171598efc3d5f939cdd5367d9d6f6a6bb) @@ -1,4 +1,25 @@ -//------------------------------------------------------------------------------ +// Copyright (C) Stichting Deltares and State of the Netherlands 2026. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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. + +//------------------------------------------------------------------------------ // // This code was generated by a tool. // Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs =================================================================== diff -u -rc0bc188eed619c956be7e0889cb3042c7235b497 -r9986e3e171598efc3d5f939cdd5367d9d6f6a6bb --- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs (.../GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs) (revision c0bc188eed619c956be7e0889cb3042c7235b497) +++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs (.../GeneralWaveImpactAsphaltCoverWaveConditionsInput.cs) (revision 9986e3e171598efc3d5f939cdd5367d9d6f6a6bb) @@ -30,17 +30,17 @@ /// public class GeneralWaveImpactAsphaltCoverWaveConditionsInput { - private const int waveImpactAphaltNumberOfDecimalPlaces = 2; + private const int numberOfDecimalPlaces = 2; private RoundedDouble c; /// /// Creates a new instance of . /// public GeneralWaveImpactAsphaltCoverWaveConditionsInput() { - A = new RoundedDouble(waveImpactAphaltNumberOfDecimalPlaces, 1.0); - B = new RoundedDouble(waveImpactAphaltNumberOfDecimalPlaces); - c = new RoundedDouble(waveImpactAphaltNumberOfDecimalPlaces); + A = new RoundedDouble(numberOfDecimalPlaces, 1.0); + B = new RoundedDouble(numberOfDecimalPlaces); + c = new RoundedDouble(numberOfDecimalPlaces); } /// @@ -53,12 +53,13 @@ /// public RoundedDouble B { get; } - private static readonly Range waveImpactAphaltCValidityRange = - new Range(new RoundedDouble(waveImpactAphaltNumberOfDecimalPlaces), - new RoundedDouble(waveImpactAphaltNumberOfDecimalPlaces, 2.0)); + private static readonly Range cValidityRange = + new Range(new RoundedDouble(numberOfDecimalPlaces), + new RoundedDouble(numberOfDecimalPlaces, 2.0)); /// /// Gets or sets the 'c' parameter used in wave impact asphalt cover wave conditions calculations. + /// Thrown when value is set to or falls out of range [0, 2]. /// public RoundedDouble C { @@ -68,12 +69,12 @@ } set { - RoundedDouble newValue = value.ToPrecision(waveImpactAphaltNumberOfDecimalPlaces); + RoundedDouble newValue = value.ToPrecision(numberOfDecimalPlaces); - if (!waveImpactAphaltCValidityRange.InRange(newValue)) + if (!cValidityRange.InRange(newValue)) { - throw new ArgumentOutOfRangeException(nameof(value), string.Format(Resources.WaveImpactAsphaltParamC_must_be_in_Range_0_, - waveImpactAphaltCValidityRange)); + throw new ArgumentOutOfRangeException(nameof(value), string.Format(Resources.GeneralWaveImpactAsphaltCoverWaveConditionsInput_C_must_be_in_Range_0_, + cValidityRange)); } c = newValue; Index: Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/Properties/Resources.Designer.cs =================================================================== diff -u -re16cb691c50576e5eb122cb451ece08173ff182e -r9986e3e171598efc3d5f939cdd5367d9d6f6a6bb --- Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision e16cb691c50576e5eb122cb451ece08173ff182e) +++ Riskeer/WaveImpactAsphaltCover/src/Riskeer.WaveImpactAsphaltCover.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 9986e3e171598efc3d5f939cdd5367d9d6f6a6bb) @@ -1,4 +1,25 @@ -//------------------------------------------------------------------------------ +// Copyright (C) Stichting Deltares and State of the Netherlands 2026. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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. + +//------------------------------------------------------------------------------ // // This code was generated by a tool. // @@ -9,8 +30,8 @@ namespace Riskeer.WaveImpactAsphaltCover.Data.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -22,15 +43,15 @@ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -44,7 +65,7 @@ return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -58,7 +79,7 @@ resourceCulture = value; } } - + /// /// Looks up a localized string similar to AGK. /// @@ -67,7 +88,7 @@ return ResourceManager.GetString("WaveImpactAsphaltCoverFailureMechanism_Code", resourceCulture); } } - + /// /// Looks up a localized string similar to Golfklappen op asfaltbekleding. /// @@ -76,11 +97,11 @@ return ResourceManager.GetString("WaveImpactAsphaltCoverFailureMechanism_DisplayName", resourceCulture); } } - + /// /// Looks up a localized string similar to De waarde van asfalt parameter C moet binnen het bereik {0} liggen.. /// - public static string WaveImpactAsphaltParamC_must_be_in_Range_0_ { + public static string GeneralWaveImpactAsphaltCoverWaveConditionsInput_C_must_be_in_Range_0_ { get { return ResourceManager.GetString("WaveImpactAsphaltParamC_must_be_in_Range_0_", resourceCulture); } Index: Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverWaveConditionsInputTest.cs =================================================================== diff -u -rc0bc188eed619c956be7e0889cb3042c7235b497 -r9986e3e171598efc3d5f939cdd5367d9d6f6a6bb --- Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverWaveConditionsInputTest.cs (.../GeneralWaveImpactAsphaltCoverWaveConditionsInputTest.cs) (revision c0bc188eed619c956be7e0889cb3042c7235b497) +++ Riskeer/WaveImpactAsphaltCover/test/Riskeer.WaveImpactAsphaltCover.Data.Test/GeneralWaveImpactAsphaltCoverWaveConditionsInputTest.cs (.../GeneralWaveImpactAsphaltCoverWaveConditionsInputTest.cs) (revision 9986e3e171598efc3d5f939cdd5367d9d6f6a6bb) @@ -28,7 +28,7 @@ namespace Riskeer.WaveImpactAsphaltCover.Data.Test { [TestFixture] - public class GeneralWaveConditionsInputTest + public class GeneralWaveImpactAsphaltCoverWaveConditionsInputTest { [Test] public void Constructor_ExpectedValues() @@ -44,7 +44,7 @@ Assert.AreEqual(0.0, generalInput.C, generalInput.C.GetAccuracy()); Assert.AreEqual(2, generalInput.C.NumberOfDecimalPlaces); } - + [Test] [TestCase(1.69)] [TestCase(-0.004)] @@ -70,10 +70,10 @@ public void C_SetInvalidValue_ThrowArgumentException(double newValue) { // Setup - var inputParameters = new GeneralWaveImpactAsphaltCoverWaveConditionsInput(); + var generalInput = new GeneralWaveImpactAsphaltCoverWaveConditionsInput(); // Call - TestDelegate test = () => inputParameters.C = (RoundedDouble) newValue; + TestDelegate test = () => generalInput.C = (RoundedDouble) newValue; // Assert TestHelper.AssertThrowsArgumentExceptionAndTestMessage(test,