Index: Riskeer/AssemblyTool/src/Riskeer.AssemblyTool.Data/AssemblyMethod.cs =================================================================== diff -u --- Riskeer/AssemblyTool/src/Riskeer.AssemblyTool.Data/AssemblyMethod.cs (revision 0) +++ Riskeer/AssemblyTool/src/Riskeer.AssemblyTool.Data/AssemblyMethod.cs (revision a5945d5638c112a9211cc959df70800013f02372) @@ -0,0 +1,54 @@ +// 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.AssemblyTool.Data +{ + /// + /// Enum defining the assembly methods. + /// + public enum AssemblyMethod + { + /// + /// Represents the assembly method BOI-0A-1. + /// + BOI0A1 = 1, + + /// + /// Represents the assembly method BOI-0A-12 + /// + BOI0A2 = 2, + + /// + /// Represents the assembly method BOI-0B-1. + /// + BOI0B1 = 3, + + /// + /// Represents the assembly method BOI-0C-1. + /// + BOI0C1 = 4, + + /// + /// Represents the assembly method BOI-0C-2. + /// + BOI0C2 = 5 + } +} \ No newline at end of file Index: Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.Data.Test/AssemblyMethodTest.cs =================================================================== diff -u --- Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.Data.Test/AssemblyMethodTest.cs (revision 0) +++ Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.Data.Test/AssemblyMethodTest.cs (revision a5945d5638c112a9211cc959df70800013f02372) @@ -0,0 +1,51 @@ +// 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; + +namespace Riskeer.AssemblyTool.Data.Test +{ + [TestFixture] + public class AssemblyMethodTest : EnumValuesTestFixture + { + protected override IDictionary ExpectedValueForEnumValues => + new Dictionary + { + { + AssemblyMethod.BOI0A1, 1 + }, + { + AssemblyMethod.BOI0A2, 2 + }, + { + AssemblyMethod.BOI0B1, 3 + }, + { + AssemblyMethod.BOI0C1, 4 + }, + { + AssemblyMethod.BOI0C2, 5 + } + }; + } +} \ No newline at end of file