Fisheye: Tag 72df6d513fff09ec6bae83f2885e3d7221f9a3c9 refers to a dead (removed) revision in file `Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Input/AssemblyCategoriesCalculatorInput.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Input/AssemblyCategoryBoundariesCalculatorInput.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Input/AssemblyCategoryBoundariesCalculatorInput.cs (revision 0)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Input/AssemblyCategoryBoundariesCalculatorInput.cs (revision 72df6d513fff09ec6bae83f2885e3d7221f9a3c9)
@@ -0,0 +1,50 @@
+// 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.AssemblyTool.Data.Input
+{
+ ///
+ /// This class contains all the parameters that are required to perform a category boundaries calculation.
+ ///
+ public class AssemblyCategoryBoundariesCalculatorInput
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The signaling norm to use in the calculation.
+ /// The lower boundary norm to use in the calculation.
+ public AssemblyCategoryBoundariesCalculatorInput(double signalingNorm, double lowerBoundaryNorm)
+ {
+ SignalingNorm = signalingNorm;
+ LowerBoundaryNorm = lowerBoundaryNorm;
+ }
+
+ ///
+ /// Gets the signaling norm to use in the calculation.
+ ///
+ public double SignalingNorm { get; }
+
+ ///
+ /// Gets the lower boundary norm to use in the calculation.
+ ///
+ public double LowerBoundaryNorm { get; }
+ }
+}
\ No newline at end of file
Index: Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Ringtoets.AssemblyTool.Data.csproj
===================================================================
diff -u -r7b2dd0c4744b58ea6bf4bfe108d3f6fb487f2d3e -r72df6d513fff09ec6bae83f2885e3d7221f9a3c9
--- Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Ringtoets.AssemblyTool.Data.csproj (.../Ringtoets.AssemblyTool.Data.csproj) (revision 7b2dd0c4744b58ea6bf4bfe108d3f6fb487f2d3e)
+++ Ringtoets/AssemblyTool/src/Ringtoets.AssemblyTool.Data/Ringtoets.AssemblyTool.Data.csproj (.../Ringtoets.AssemblyTool.Data.csproj) (revision 72df6d513fff09ec6bae83f2885e3d7221f9a3c9)
@@ -11,7 +11,7 @@
-
+
Fisheye: Tag 72df6d513fff09ec6bae83f2885e3d7221f9a3c9 refers to a dead (removed) revision in file `Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Input/AssemblyCategoriesCalculatorInputTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Input/AssemblyCategoryBoundariesCalculatorInputTest.cs
===================================================================
diff -u
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Input/AssemblyCategoryBoundariesCalculatorInputTest.cs (revision 0)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Input/AssemblyCategoryBoundariesCalculatorInputTest.cs (revision 72df6d513fff09ec6bae83f2885e3d7221f9a3c9)
@@ -0,0 +1,47 @@
+// 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 System;
+using NUnit.Framework;
+using Ringtoets.AssemblyTool.Data.Input;
+
+namespace Ringtoets.AssemblyTool.Data.Test.Input
+{
+ [TestFixture]
+ public class AssemblyCategoryBoundariesCalculatorInputTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Setup
+ var random = new Random(11);
+ double signalingNorm = random.NextDouble();
+ double lowerBoundaryNorm = random.NextDouble();
+
+ // Call
+ var calculatorInput = new AssemblyCategoryBoundariesCalculatorInput(signalingNorm, lowerBoundaryNorm);
+
+ // Assert
+ Assert.AreEqual(signalingNorm, calculatorInput.SignalingNorm);
+ Assert.AreEqual(lowerBoundaryNorm, calculatorInput.LowerBoundaryNorm);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Ringtoets.AssemblyTool.Data.Test.csproj
===================================================================
diff -u -r7b2dd0c4744b58ea6bf4bfe108d3f6fb487f2d3e -r72df6d513fff09ec6bae83f2885e3d7221f9a3c9
--- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Ringtoets.AssemblyTool.Data.Test.csproj (.../Ringtoets.AssemblyTool.Data.Test.csproj) (revision 7b2dd0c4744b58ea6bf4bfe108d3f6fb487f2d3e)
+++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.Data.Test/Ringtoets.AssemblyTool.Data.Test.csproj (.../Ringtoets.AssemblyTool.Data.Test.csproj) (revision 72df6d513fff09ec6bae83f2885e3d7221f9a3c9)
@@ -14,7 +14,7 @@
-
+