Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs
===================================================================
diff -u -rcd01068cb650d08d0cf061ed6b4a2a5dc6ebf0b1 -rcd72075e69264b38c0df17a11e7de9096fcf6932
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision cd01068cb650d08d0cf061ed6b4a2a5dc6ebf0b1)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/StabilityPointStructuresInput.cs (.../StabilityPointStructuresInput.cs) (revision cd72075e69264b38c0df17a11e7de9096fcf6932)
@@ -134,7 +134,7 @@
EvaluationLevel = (RoundedDouble) double.NaN;
FailureProbabilityRepairClosure = (RoundedDouble) 0.0;
InflowModelType = 0;
- LoadSchematizationType = 0;
+ LoadSchematizationType = LoadSchematizationType.Linear;
StructureNormalOrientation = (RoundedDouble) double.NaN;
VerticalDistance = (RoundedDouble) double.NaN;
LevellingCount = 0;
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs
===================================================================
diff -u -r974fb1eadbd8a630c7a992648ad42ac85ec205b1 -rcd72075e69264b38c0df17a11e7de9096fcf6932
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision 974fb1eadbd8a630c7a992648ad42ac85ec205b1)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision cd72075e69264b38c0df17a11e7de9096fcf6932)
@@ -163,7 +163,7 @@
AssertAreEqual(double.NaN, input.VerticalDistance);
Assert.AreEqual(0, (int) input.InflowModelType);
- Assert.AreEqual(0, (int) input.LoadSchematizationType);
+ Assert.AreEqual(LoadSchematizationType.Linear, input.LoadSchematizationType);
}
[Test]
@@ -315,15 +315,15 @@
AssertAreEqual(double.NaN, input.VerticalDistance);
Assert.AreEqual(0, (int) input.InflowModelType);
- Assert.AreEqual(0, (int) input.LoadSchematizationType);
+ Assert.AreEqual(LoadSchematizationType.Linear, input.LoadSchematizationType);
}
[Test]
public void Structure_NotNull_ExpectedValues()
{
// Setup
var input = new StabilityPointStructuresInput();
- TestStabilityPointStructure structure = new TestStabilityPointStructure();
+ var structure = new TestStabilityPointStructure();
// Call
input.Structure = structure;
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/test-data/StabilityPointStructuresCalculationConfigurationExporter/configurationWithStructure.xml
===================================================================
diff -u -r07e91a65d383cef2f2362d2244ef327569d9c8fb -rcd72075e69264b38c0df17a11e7de9096fcf6932
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/test-data/StabilityPointStructuresCalculationConfigurationExporter/configurationWithStructure.xml (.../configurationWithStructure.xml) (revision 07e91a65d383cef2f2362d2244ef327569d9c8fb)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/test-data/StabilityPointStructuresCalculationConfigurationExporter/configurationWithStructure.xml (.../configurationWithStructure.xml) (revision cd72075e69264b38c0df17a11e7de9096fcf6932)
@@ -8,6 +8,7 @@
1
0.55
verdronkenkoker
+ lineair
42
0.55
555.55