Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rcfecf604c59b609a83f1006cc58d5dbc939d9eba -r255eb9c91345a1a5bd18d40143f4f157dfe0bf46 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision cfecf604c59b609a83f1006cc58d5dbc939d9eba) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 255eb9c91345a1a5bd18d40143f4f157dfe0bf46) @@ -822,38 +822,9 @@ var failureMechanism = new StabilityStoneCoverFailureMechanism(); IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var calculationA = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "A", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - CategoryType = AssessmentSectionCategoryType.LowerLimitNorm, - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; + StabilityStoneCoverWaveConditionsCalculation calculationA = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); + StabilityStoneCoverWaveConditionsCalculation calculationB = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); - var calculationB = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "B", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - CategoryType = AssessmentSectionCategoryType.LowerLimitNorm, - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; - var group = new CalculationGroup(); group.Children.Add(calculationA); group.Children.Add(calculationB); @@ -906,21 +877,7 @@ IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var calculation = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "A", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - CategoryType = AssessmentSectionCategoryType.LowerLimitNorm, - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; + StabilityStoneCoverWaveConditionsCalculation calculation = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); var group = new CalculationGroup(); group.Children.Add(calculation); @@ -972,21 +929,7 @@ IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var calculation = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "A", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - CategoryType = AssessmentSectionCategoryType.LowerLimitNorm, - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; + StabilityStoneCoverWaveConditionsCalculation calculation = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); var group = new CalculationGroup(); group.Children.Add(calculation); @@ -1042,21 +985,7 @@ IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var calculation = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "A", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - CategoryType = AssessmentSectionCategoryType.LowerLimitNorm, - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; + StabilityStoneCoverWaveConditionsCalculation calculation = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); var group = new CalculationGroup(); group.Children.Add(calculation);