Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/MStabParametersTest.cs =================================================================== diff -u --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/MStabParametersTest.cs (revision 0) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/MStabParametersTest.cs (revision 5838) @@ -0,0 +1,49 @@ +// Copyright (C) Stichting Deltares 2024. All rights reserved. +// +// This file is part of the application DAM - UI. +// +// DAM - UI 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 Deltares.Standard; +using NUnit.Framework; + +namespace Deltares.Dam.Data.Tests +{ + [TestFixture] + public class MStabParametersTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Call + var parameters = new MStabParameters(); + + // Assert + Assert.That(parameters, Is.InstanceOf>()); + Assert.That(parameters, Is.InstanceOf()); + + Assert.Multiple(() => + { + Assert.That(parameters.Model, Is.EqualTo(MStabModelType.UpliftVan)); + Assert.That(parameters.SearchMethod, Is.EqualTo(MStabSearchMethod.BeeSwarm)); + Assert.That(parameters.GridPosition, Is.EqualTo(MStabGridPosition.Right)); + Assert.That(parameters.SlipCircleDefinition, Is.Not.Null); + }); + } + } +} \ No newline at end of file Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/Deltares.Dam.Data.Tests.csproj =================================================================== diff -u --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/Deltares.Dam.Data.Tests.csproj (revision 0) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data.Tests/Deltares.Dam.Data.Tests.csproj (revision 5838) @@ -0,0 +1,11 @@ + + + + + + + + ..\..\..\lib\DSL-Core\Deltares.Standard.dll + + + Fisheye: Tag 5838 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/MStabParametersTest.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: DamClients/DamUI/trunk/src/Dam.sln =================================================================== diff -u -r5367 -r5838 --- DamClients/DamUI/trunk/src/Dam.sln (.../Dam.sln) (revision 5367) +++ DamClients/DamUI/trunk/src/Dam.sln (.../Dam.sln) (revision 5838) @@ -52,6 +52,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{9FB49F7B-3DB4-4F63-8233-0A1701C633F6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deltares.Dam.Data.Tests", "DamClientsLibrary\Deltares.Dam.Data.Tests\Deltares.Dam.Data.Tests.csproj", "{DC9012EF-7DEC-472E-AC2F-1D044A9891FB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x86 = Debug|x86 @@ -106,6 +108,10 @@ {3751DDD3-7BBC-4918-BC12-BB4082F6C6D8}.Debug|x86.Build.0 = Debug|x86 {3751DDD3-7BBC-4918-BC12-BB4082F6C6D8}.Release|x86.ActiveCfg = Release|x86 {3751DDD3-7BBC-4918-BC12-BB4082F6C6D8}.Release|x86.Build.0 = Release|x86 + {DC9012EF-7DEC-472E-AC2F-1D044A9891FB}.Debug|x86.ActiveCfg = Debug|Any CPU + {DC9012EF-7DEC-472E-AC2F-1D044A9891FB}.Debug|x86.Build.0 = Debug|Any CPU + {DC9012EF-7DEC-472E-AC2F-1D044A9891FB}.Release|x86.ActiveCfg = Release|Any CPU + {DC9012EF-7DEC-472E-AC2F-1D044A9891FB}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -126,6 +132,7 @@ {4250BDBE-1131-4C42-89FC-6BE73972313C} = {6A55AC8E-14F0-4F4E-94C6-602BE8B3B2C9} {15503BE5-7148-4DA6-BDD0-5880266E79D4} = {6A55AC8E-14F0-4F4E-94C6-602BE8B3B2C9} {F6A85256-50BA-4E97-8E3C-D8D488DFAF44} = {9FB49F7B-3DB4-4F63-8233-0A1701C633F6} + {DC9012EF-7DEC-472E-AC2F-1D044A9891FB} = {066CD106-CABF-4A39-8B5A-98AB453C1B6C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B7622D89-F347-4835-A5C0-2E126540024A}