Index: Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs =================================================================== diff -u -rab20c4eb4ca81bd3845d50210d2bdb301177af6a -r5d36087eefd43dcb327163ef5e9c4e52407ccc96 --- Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs (.../AddNewDemoAssessmentSectionCommand.cs) (revision ab20c4eb4ca81bd3845d50210d2bdb301177af6a) +++ Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs (.../AddNewDemoAssessmentSectionCommand.cs) (revision 5d36087eefd43dcb327163ef5e9c4e52407ccc96) @@ -242,6 +242,8 @@ var calculation = new StructuresCalculation(); failureMechanism.CalculationsGroup.Children.Add(calculation); calculation.InputParameters.HydraulicBoundaryLocation = demoAssessmentSection.HydraulicBoundaryDatabase.Locations.First(hl => hl.Id == 1300001); + calculation.InputParameters.DeviationWaveDirection = (RoundedDouble) 10.0; + calculation.InputParameters.Structure = CreateDemoHeightStructure(); calculation.InputParameters.NotifyObservers(); } @@ -298,6 +300,8 @@ var calculation = new StructuresCalculation(); failureMechanism.CalculationsGroup.Children.Add(calculation); calculation.InputParameters.HydraulicBoundaryLocation = demoAssessmentSection.HydraulicBoundaryDatabase.Locations.First(hl => hl.Id == 1300001); + calculation.InputParameters.DeviationWaveDirection = (RoundedDouble) 10.0; + calculation.InputParameters.Structure = CreateDemoClosingStructure(); calculation.InputParameters.NotifyObservers(); } Index: Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs =================================================================== diff -u -rab20c4eb4ca81bd3845d50210d2bdb301177af6a -r5d36087eefd43dcb327163ef5e9c4e52407ccc96 --- Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision ab20c4eb4ca81bd3845d50210d2bdb301177af6a) +++ Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision 5d36087eefd43dcb327163ef5e9c4e52407ccc96) @@ -312,6 +312,8 @@ private static void AssertExpectedHeightStructuresInput(HeightStructuresInput inputParameters) { Assert.AreEqual(1300001, inputParameters.HydraulicBoundaryLocation.Id); + Assert.AreEqual(10, inputParameters.DeviationWaveDirection, inputParameters.DeviationWaveDirection.GetAccuracy()); + AssertExpectedHeightStructureValues(inputParameters.Structure); } #endregion @@ -365,6 +367,8 @@ private static void AssertExpectedClosingStructuresInput(ClosingStructuresInput inputParameters) { Assert.AreEqual(1300001, inputParameters.HydraulicBoundaryLocation.Id); + Assert.AreEqual(10, inputParameters.DeviationWaveDirection, inputParameters.DeviationWaveDirection.GetAccuracy()); + AssertExpectedClosingStructureValues(inputParameters.Structure); } #endregion