Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs
===================================================================
diff -u -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14 -r3487d71f6e4e259d539d2823507a4b58d7f0822b
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision 3487d71f6e4e259d539d2823507a4b58d7f0822b)
@@ -20,8 +20,6 @@
// All rights reserved.
using System;
-using System.Collections.ObjectModel;
-using System.Linq;
using Ringtoets.Common.Data;
using Ringtoets.Common.Data.Probabilistics;
using BaseConstructionProperties = Ringtoets.Common.Data.StructureBase.ConstructionProperties;
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresInput.cs
===================================================================
diff -u -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14 -r3487d71f6e4e259d539d2823507a4b58d7f0822b
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresInput.cs (.../ClosingStructuresInput.cs) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructuresInput.cs (.../ClosingStructuresInput.cs) (revision 3487d71f6e4e259d539d2823507a4b58d7f0822b)
@@ -300,7 +300,7 @@
///
/// Gets or sets the failure probability/frequency of an open structure before flooding.
///
- /// Thrown when the value is negative.
+ /// Thrown when the value is negative or .
public double ProbabilityOrFrequencyOpenStructureBeforeFlooding
{
get
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.Designer.cs
===================================================================
diff -u -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14 -r3487d71f6e4e259d539d2823507a4b58d7f0822b
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 3487d71f6e4e259d539d2823507a4b58d7f0822b)
@@ -1,7 +1,28 @@
-//------------------------------------------------------------------------------
+// Copyright (C) Stichting Deltares 2016. 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.
+
+//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.18444
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -88,7 +109,7 @@
}
///
- /// Looks up a localized string similar to De waarde moet groter of gelijk aan 0 zijn..
+ /// Looks up a localized string similar to De waarde moet groter dan of gelijk aan 0 zijn..
///
public static string ClosingStructuresInput_ProbabilityOrFrequencyOpenStructureBeforeFlooding_Value_must_be_greater_or_equal_to_zero {
get {
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.resx
===================================================================
diff -u -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14 -r3487d71f6e4e259d539d2823507a4b58d7f0822b
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.resx (.../Resources.resx) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/Properties/Resources.resx (.../Resources.resx) (revision 3487d71f6e4e259d539d2823507a4b58d7f0822b)
@@ -130,6 +130,6 @@
De waarde voor 'N2A' moet in het bereik [0, 40] liggen.
- De waarde moet groter of gelijk aan 0 zijn.
+ De waarde moet groter dan of gelijk aan 0 zijn.
\ No newline at end of file
Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs
===================================================================
diff -u -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14 -r3487d71f6e4e259d539d2823507a4b58d7f0822b
--- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs (.../ClosingStructuresInputTest.cs) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
+++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.Test/ClosingStructuresInputTest.cs (.../ClosingStructuresInputTest.cs) (revision 3487d71f6e4e259d539d2823507a4b58d7f0822b)
@@ -382,7 +382,7 @@
[TestCase(-1e-6)]
[TestCase(-23456)]
[TestCase(double.NaN)]
- public void ProbabilityOpenStructureBeforeFlooding_InvalidValues_ThrowsArgumentOutOfRangeException(double probability)
+ public void ProbabilityOrFrequencyOpenStructureBeforeFlooding_InvalidValues_ThrowsArgumentOutOfRangeException(double probability)
{
// Setup
var input = new ClosingStructuresInput();
@@ -391,14 +391,14 @@
TestDelegate call = () => input.ProbabilityOrFrequencyOpenStructureBeforeFlooding = probability;
// Assert
- TestHelper.AssertThrowsArgumentExceptionAndTestMessage(call, "De waarde moet groter of gelijk aan 0 zijn.");
+ TestHelper.AssertThrowsArgumentExceptionAndTestMessage(call, "De waarde moet groter dan of gelijk aan 0 zijn.");
}
[Test]
[TestCase(0)]
[TestCase(0.5)]
[TestCase(1.0)]
- public void ProbabilityOpenStructureBeforeFlooding_ValidValues_ExpectedValues(double probability)
+ public void ProbabilityOrFrequencyOpenStructureBeforeFlooding_ValidValues_ExpectedValues(double probability)
{
// Setup
var input = new ClosingStructuresInput();