Index: Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/ProbabilityRefinementType.cs =================================================================== diff -u --- Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/ProbabilityRefinementType.cs (revision 0) +++ Riskeer/Common/src/Riskeer.Common.Data/FailureMechanism/ProbabilityRefinementType.cs (revision 69b061440a6d3bb64d89f04702e85f0c502fb97e) @@ -0,0 +1,44 @@ +// Copyright (C) Stichting Deltares 2021. 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. + +namespace Riskeer.Common.Data.FailureMechanism +{ + /// + /// Specifies the probability refinement types. + /// + public enum ProbabilityRefinementType + { + /// + /// Refine the probability for the profile. + /// + Profile = 1, + + /// + /// Refine the probability for the section. + /// + Section = 2, + + /// + /// Refine the probability for both the profile and the section. + /// + Both = 3 + } +} \ No newline at end of file Index: Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/ProbabilityRefinementTypeTest.cs =================================================================== diff -u --- Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/ProbabilityRefinementTypeTest.cs (revision 0) +++ Riskeer/Common/test/Riskeer.Common.Data.Test/FailureMechanism/ProbabilityRefinementTypeTest.cs (revision 69b061440a6d3bb64d89f04702e85f0c502fb97e) @@ -0,0 +1,46 @@ +// Copyright (C) Stichting Deltares 2021. 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. + +using System.Collections.Generic; +using Core.Common.TestUtil; +using NUnit.Framework; +using Riskeer.Common.Data.FailureMechanism; + +namespace Riskeer.Common.Data.Test.FailureMechanism +{ + [TestFixture] + public class ProbabilityRefinementTypeTest : EnumValuesTestFixture + { + protected override IDictionary ExpectedValueForEnumValues => + new Dictionary + { + { + ProbabilityRefinementType.Profile, 1 + }, + { + ProbabilityRefinementType.Section, 2 + }, + { + ProbabilityRefinementType.Both, 3 + } + }; + } +} \ No newline at end of file